[Sunhelp] Saving core files

Lee Khuong lkhuong at theALLIEDgroup.com
Tue Aug 22 10:55:28 CDT 2000


John,

- Make a directory for the crash dump: /var/crash/`uname -n`

vi /etc/init.d/sysetup and uncomment these lines:

If [ ! -d /var/crash/`uname -n`]
then
mkdir -m 0700 -p /var/crash/`uname -n`
fi
echo checking for crash dump... \c
savecore /var/crash/`uname -n`
echo ''

Have fun!

Lee Khuong

jkennedy at orent.com wrote:

> OK, stupid question but I haven't done this in over a year and a half.
> For the life of me I cannot remember how to set a system up to
> automatically save core file safter a crash.  Has anyone done this
> recently (Solaris 2.6 or 7)???
> Thanks,
> John Kennedy
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp






More information about the SunHELP mailing list