Re: redirecting core files (216 Views)
Reply
Super Advisor
KPS
Posts: 453
Registered: ‎10-29-2001
Message 1 of 4 (216 Views)
Accepted Solution

redirecting core files

Does HP-UX have any way to redirect the location that a core file gets written to by sending a certain "kill" signal to a PID?

Thanks
/KPS
Honored Contributor
Hakki Aydin Ucar
Posts: 1,313
Registered: ‎08-16-2006
Message 2 of 4 (216 Views)

Re: redirecting core files

Honored Contributor
Hakki Aydin Ucar
Posts: 1,313
Registered: ‎08-16-2006
Message 3 of 4 (216 Views)

Re: redirecting core files

And apparently, you have to put redirection clause to the script/program itself :

When a core dump occurs during the
execution of a program, the core file, core, is created in the working directory of the
terminated process. This core file reflects the memory image of the terminated process.
Super Advisor
KPS
Posts: 453
Registered: ‎10-29-2001
Message 4 of 4 (216 Views)

Re: redirecting core files

Thanks for the doc link and information, this is very helpful and it also answers our question we had.

Regards,
/KPS
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.