6.8 Crashes
For more information during recurrent crashes turn on savecore in /etc/rc.local (SunOS 4.X) or /etc/rc2.d/S20sysetup (SunOS 5.X). When enabled the system will save a core image of memory in the file /var/crash/'uname -n'/vmcore.# and the kernel's namelist in the same directory in the file vmunix.# (SunOS 4.X) or unix.# (SunOS 5.X) during the reboot. These files can then be analyzed for the causes of the system panic. The appropriate lines in rc.local are:
# Default is to not do a savecore
# mkdir -p /var/crash/`hostname`
# echo -n 'checking for crash dump... '
# intr savecore /var/crash/`hostname`