Operating System - HP-UX
1844038 Members
2177 Online
110227 Solutions
New Discussion

Saving Core's, Crashes, and Dumps.

 
SOLVED
Go to solution
fg_1
Trusted Contributor

Saving Core's, Crashes, and Dumps.

All

I was wondering how to ensure that all of my systems are setup to save crash and dump information when it occurs. I was also wondering if there was a way to specify that all core files are sent to a specific filesystem.

We have created on all systems a /var/adm/crash area that is 5% larger than the amt of physical memory we have installed on each system. Is this a good rule of thumb or a'm I in need of increasing these?.

Thanks in advance.
8 REPLIES 8
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Saving Core's, Crashes, and Dumps.

Hi Frank,

I am sure you have modified your /etc/rc.config.d/savecrash file and also configured your dump device enough to take the dump.

To get a good picture of your dump size, you can do a crashconf -v

Get the Total pages included in the dump and multiply with 4 (the page size) to find how much it is going to dump.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Christopher McCray_1
Honored Contributor

Re: Saving Core's, Crashes, and Dumps.

In /etc/rc.config.d there is a file named savecrash(11.0) or savecore (10.20). In this file you can specify where the crash directory is as well as turning the savecrash flag on or off.

As for you second question, it depends. It should be plenty as it doesn't require much space anymore for a dump.

Hope this helps.

Chris
It wasn't me!!!!
Uday_S_Ankolekar
Honored Contributor

Re: Saving Core's, Crashes, and Dumps.

Uday_S_Ankolekar
Honored Contributor

Re: Saving Core's, Crashes, and Dumps.

There was an error in the thread ..Here you go

http://us-support.external.hp.com/cki/bin/doc.pl/sid=771e447e06e85c8f14/screen=ckiDisplayDocument?
docId=200000049395343
Good Luck..
Uday_S_Ankolekar
Honored Contributor

Re: Saving Core's, Crashes, and Dumps.


It looks like my browser is screwing up the threads..
Hope it works this time

http://us-support.external.hp.com/cki/bin/doc.pl/sid=771e447e06e85c8f14/screen=ckiDisplayDocument?docId=200000049395343
Good Luck..
Deshpande Prashant
Honored Contributor

Re: Saving Core's, Crashes, and Dumps.

HI
Entry in /etc/rc.config.d/savecrash file for SAVECRASH_DIR will be needed for you dump configured.

The command #crashconf -v will give you current dump configuration.

Thanks.
Prashant.
Take it as it comes.
fg_1
Trusted Contributor

Re: Saving Core's, Crashes, and Dumps.

Thank you all. Excellent information as always.