1753797 Members
7514 Online
108799 Solutions
New Discussion юеВ

Reg core file

 
SOLVED
Go to solution
dattu_1
Regular Advisor

Reg core file

hi guys,
I have in my /tmp file a file called core of 600 mb is it safe to delete it......

# file /tmp/core
/tmp/core: ELF-32 core file - IA64 from 'java' - received SIGABRT


Regards,
Dattu
8 REPLIES 8
A. Clay Stephenson
Acclaimed Contributor

Re: Reg core file

Yes.
If it ain't broke, I can fix that.
dattu_1
Regular Advisor

Re: Reg core file

Ok Thanks Stephen i do have many of these ...

# find / -name core
/etc/opt/resmon/core
/home/scripts/data/core
/tmp/core
/var/opt/wbem/core
/var/spool/cron/atjobs/core
/fns/m/r/spool/Interfaces/BATCH-UPLOADS-TEMP/core
/core


Can i delete all of these ??
# file /core
/core: ELF-32 core file - IA64 from 'cmviewconf' - received SIGABRT

Dennis Handly
Acclaimed Contributor

Re: Reg core file

Basically you can delete core files if you don't want to debug the problem or they are so old, you don't know how to duplicate it.

You might at least save the "ll" value and the output of "ile" for each.
Reshma Malusare
Trusted Contributor
Solution

Re: Reg core file

Hi Dattu,
yes you can delete core files.
See,The operating system generates a core file when a signal is not caught by the program. The core file records the state of the program at the time that the fatal error occurred.You can use the debugger to diagnose some run-time errors after a program has aborted and produced a core file.so,if you dont want to dubug a problem you can delete the core files.

Thanks & Regards
Reshma

dattu_1
Regular Advisor

Re: Reg core file

Thanks Clay,Reshma,Dennis.


Regards,
Dattu
Asif Sharif
Honored Contributor

Re: Reg core file

Hi Dattu,

Yes,You can delete core files,The HP-UX system writes out a file containing a core image of a terminated process when certain signals are received . The most common causes are memory violations, illegal instructions, floating point exceptions, bus errors, and user-generated quit signals. The core image file is called core and is written in the process's working directory (provided it is allowed by normal access controls). A process with an effective user ID different from its real user ID does not produce a core image.

for more infomation on core please click on the below link.

http://docs.hp.com/en/B2355-60130/core.4.html

Regards,
Asif Sharif
Regards,
Asif Sharif
Dennis Handly
Acclaimed Contributor

Re: Reg core file

A slight typo in my response above:
You might at least save the output from "ll" and "file" for each.

And if these are test systems for your developers, they may want to know about them. At least for their applications.
dattu_1
Regular Advisor

Re: Reg core file

thanks,Asif..........