HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
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

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 ""