This is the defaults:
global core file pattern:
global core file content: default
init core file pattern: core
init core file content: default
global core dumps: disabled
per-process core dumps: enabled
global setid core dumps: disabled
per-process setid core dumps: disabled
global core dump logging: disabled
global core file pattern: /var/cores/core_%n_%f_%u_%g_%t_%p
global core file content: default
init core file pattern: core
init core file content: default
global core dumps: enabled
per-process core dumps: disabled
global setid core dumps: enabled
per-process setid core dumps: disabled
global core dump logging: enabled
Reasoning:
1. I don't like my core files all over the place
2. Easier to find and clean up.
3. I only enable per-process core file dump when a user needs it (on a zone)
1. I don't like my core files all over the place
2. Easier to find and clean up.
3. I only enable per-process core file dump when a user needs it (on a zone)
VALUE | HOW TO SET IT | |
global core file pattern | Specifies name and location of the global core files (A leading "/" specifes an absolute path) | coreadm -g /var/cores/core_%n_%f_%u_%g_%t_%p |
global core file content | Defines content of global files | |
init core file pattern | Specifies name and location of the global per-process files (No leading "/" makes it relative to working directory) | coreadm -p core |
init core file content | Defines content of per-process files | |
global core dumps | Enable/disables global core-dumps | coreadm -e global |
per-process core dumps | Enable/disables per-process core-dumps | coreadm -d process |
global setid core dumps | Enable/disables global setid core-dumps | coreadm -e global-setid |
per-process setid core dumps | Enable/disables per-process setid core-dumps | coreadm -d proc-setid |
global core dump logging | Enable/disables logging to syslog | coreadm -e log |
No comments:
Post a Comment
Note: only a member of this blog may post a comment.