System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change OMU(OVO) core dump created directory,

 
Tony Bai
Occasional Advisor

How to change OMU(OVO) core dump created directory,

Hi all
We write one progress integrate with OMU8 on hpux, which will core dump make filesystem "/" full. (I already know the core dump reason, but can not solve it right now)

Do you know how to change core dump file created directory, make it not at root path "/"
5 REPLIES
rariasn
Honored Contributor

Re: How to change OMU(OVO) core dump created directory,

Re: How to change OMU(OVO) core dump created directory,

What HP-UX version are you using?
On 11.31 there is coreadm(1m) that can redirect core files.

If possible, you can start the process other than /.
You can also create a directory called core to prevent them.
Tony Bai
Occasional Advisor

Re: How to change OMU(OVO) core dump created directory,

Hi ,
I have changed , and reboot HPUX(11.v1)
/etc/rc.config.d/savecrash

but the core file still at root path
muruganantham raju
Valued Contributor

Re: How to change OMU(OVO) core dump created directory,

Tony,
Following information was found in different ITRC thread. Just go through this.

There are two meanings for the term core dump. The most common is for core files produced by programs. They are called "core" and are always created in the current working directory where the program is running. You cannot redirect the file to another location. If the core dumps are not needed, then use the ulimit command mentioned above just before starting the programs that are crashing and no core dump will be produced at all. Note that in SysV V.4 filesystem layout, the /tmp directory is used for system processes while /var/tmp is the preferred location for user files.

The other core dump is called a system panic and that's where you would edit the crashconf file. Note that /tmp is far too small to hold a carsh dump.

Regards,
Muru

Re: How to change OMU(OVO) core dump created directory,

>but the core file still at root path

Simply "mkdir /core" and you'll never get anymore there.