1856488 Members
12555 Online
104113 Solutions
New Discussion

Re: system crash

 
SOLVED
Go to solution
subhashni
Regular Advisor

system crash

Hi,
How should i specify dir to dump core
when system crashes?

Thanks
unix4me
7 REPLIES 7
Sanjay_6
Honored Contributor
Solution

Re: system crash

Hi subhashni,

The file where the crash files are stored is defined in the file /etc/rc.config.d/savecrash

Hope this helps.

Regds
Patrick Wallek
Honored Contributor

Re: system crash

You specify your dump device via lvlnboot command.

lvlnboot -d /dev/vg??/dump_lv

"man lvlnboot" for more information.

When the system comes back up, the crash dump gets written to /var/adm/crash by default.
Helen French
Honored Contributor

Re: system crash

subhashni
Regular Advisor

Re: system crash

hi sanjay
In HPUX-10.20 i dont see any file like savecrash.In 10.20 which file I have to see.
Thanks for your quick response.
Thanks
unix4me
Helen French
Honored Contributor

Re: system crash

Hi,

Check for the file /etc/rc.config.d/savecore

That is the file.

HTH,
Shiju
Life is a promise, fulfill it!
Patrick Wallek
Honored Contributor

Re: system crash

For HP-UX 10.20 look at:

/etc/rc.config.d/savecore

and the line

SAVECORE_DIR=/var/adm/crash

by default, controls where the info will get saved.
Sanjay_6
Honored Contributor

Re: system crash

Hi subhashni,

The file name is /etc/rc.config.d/savecore in 10.20

hope this helps.

Regds