1827697 Members
3112 Online
109967 Solutions
New Discussion

Core Files

 
George Lambert
Occasional Advisor

Core Files

I am getting a nightly core dump that is filling up /. I need to put the file on tape to send in for diagnostic, but I'm not sure that I'm getting the complete file because / is at 100%. Can I assume that the file is complete, or should I re-direct the core dump to another director that is larger. If I need to re-direct it; how do I do that? I read that I can limit the size of the core file, but if I do that is the data there for diagnostics?
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: Core Files

The location of the core file is the current working directory of the process. If you can start the application from another location (and assuming that the process itself doesn't do a chdir()) then that is the approach you should take. It's almost a certain bet that if the filesystem is full, the core is incomplete.
If it ain't broke, I can fix that.
Dennis Handly
Acclaimed Contributor

Re: Core Files

Unfortunately it seems you can't use a symlink for core.

On 11.31, there is a new coreadm(1M) command that allows you to put your core files elsewhere.