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

resetting coreadm to default values

PamelaJThrasher
Regular Advisor

resetting coreadm to default values

These are my current coreadm settings:

global core file pattern: /var/adm/crash/core.%p.%u.%f.%t
init(1M) core file pattern: /var/adm/crash/core.%p.%u.%f.%t
global core dumps: disabled
per-process core dumps: disabled
global setid core dumps: disabled
per-process setid core dumps: disabled

I would like to return the global core file pattern and init(1M) core file pattern to drop the core files in the directory where the process is running from and have the files named core.

How do I do this?

3 REPLIES
Dennis Handly
Acclaimed Contributor

Re: resetting coreadm to default values

Hmm, there doesn't seem to be any way to reset the pattern but since they are disabled, they should be ignored.

You could try:
coreadm -I "" -g ""
PamelaJThrasher
Regular Advisor

Re: resetting coreadm to default values

Thanks for the response. I acutally opened a case on this. The correct command to reset the default values is:

coreadm -d global -e process -d global-setid -d proc-setid -g "" -I ""
PamelaJThrasher
Regular Advisor

Re: resetting coreadm to default values

coreadm -d global -e process -d global-setid -d proc-setid -g "" -I ""