1834437 Members
2330 Online
110067 Solutions
New Discussion

Re: Configure core dump

 
SOLVED
Go to solution
Kenn Chen
Advisor

Configure core dump

How could i configure core dump in hp-ux 11.0.
so that server will generate core dump whenever server having problem .............
Cyber Zen
3 REPLIES 3
Roger Baptiste
Honored Contributor

Re: Configure core dump

Hi,

Your question is not clear. A program, whether User or System will dump core by default, if it runs into an execution error. That's why you would see "core" file when a program aborts at runtime. There is no need to configure it (and as far as i know there is nothing like that).

Are you referring to crash dump? I.e when the system hangs and a reboot is needed. Is that what you want to configure??

-raj
Take it easy.
Steven Sim Kok Leong
Honored Contributor
Solution

Re: Configure core dump

Hi,

Two man configuration files:

/etc/rc.config.d/crashconf
/etc/rc.config.d/savecrash

crashconf allows you to configure crash dumps at boot time.

savecrash allows you to specify the level of saving the crash dump (eg. partial
saving) etc and saves it.

Their startup scripts are respectively:

/etc/rc1.d/S080crashconf
/etc/rc1.d/S440savecrash

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Steven Sim Kok Leong
Honored Contributor

Re: Configure core dump

Hi,

The short answer is to set SAVECRASH to 1 in /etc/rc.config.d/savecrash.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com