1830045 Members
15266 Online
109998 Solutions
New Discussion

generate corefile

 
jackfiled
Advisor

generate corefile

Hi all
Is Linux able to generate core file?
some systems have been down without any reason
Is it possible to figure out using any other tool?
I'm anxious for revealing it.
4 REPLIES 4
Elmar P. Kolkman
Honored Contributor

Re: generate corefile

Linux can generate core files for executables, but I've never seen a crash dump, if that's what you mean.
Every problem has at least one solution. Only some solutions are harder to find.
Vitaly Karasik_1
Honored Contributor

Re: generate corefile

this article may help you:

http://linux.oreillynet.com/pub/a/linux/2001/11/01/postmortem.html

Linux System Failure Post-Mortem


Rgds,
Vitaly

Tim Sanko
Trusted Contributor

Re: generate corefile

If you are having crashes, not failures then without a dump, you are in the mode of monitor or miss.

If you are getting application crashes, run sar to mnake sure you've got sufficient resources for your attempt. run strings against the core files, and peruse them looking for unusual messages (Unable to parse command,stack overflow, etc...

Tim
Jairo Campana
Trusted Contributor

Re: generate corefile

to error in core generated when a executable its corrupt

example: the command last its corrupt
#last
coredump generated

solution
>/var/log/messages
legionx