per process configurable core dump directory

Posted by Hanno Stock on Stack Overflow See other posts from Stack Overflow or by Hanno Stock
Published on 2010-04-23T11:41:08Z Indexed on 2010/04/23 11:43 UTC
Read the original article Hit count: 244

Filed under:
|
|
|
|

Is there a way to configure the directory where core dump files are placed for a specific process?

I have a daemon process written in C++ for which I would like to configure the core dump directory. Optionally the filename pattern should be configurable, too.

I know about /proc/sys/kernel/core_name_format, however this would change the pattern and directory structure globally.

Apache has the directive CoreDumpDirectory - so it seems to be possible.

© Stack Overflow or respective owner

Related posts about c++

Related posts about coredump