1834139 Members
2295 Online
110064 Solutions
New Discussion

Enable Crash Dumps

 
SOLVED
Go to solution
Joshua M. Miller
Frequent Advisor

Enable Crash Dumps

How do I verify that a HP-UX 10.20 host is configured properly so that a crash dump is saved in /var/adm/crash after the host crashes?

Thanks,
Josh
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: Enable Crash Dumps

Shalom Josh,

If I remember flip the switch from 0 to 1 in /etc/rc.config.d/savecrash

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Joshua M. Miller
Frequent Advisor

Re: Enable Crash Dumps

Thanks Steven!

/etc/rc.config.d/savecore is the file.

# SAVECORE: Set to 0 to disable saving system core files.
SAVECORE=1


# SAVECORE_DIR: Directory name for system core files. Note: the filesystem
# in which this directory is located should have as much free
# space as your system has RAM.
SAVECORE_DIR=/var/adm/crash



- Josh