Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am seeing cores dumped in a particular directory continuously. I am sure there must a script that's continuously starting a process which is core-dumping and dying. But, how can I find which process is it?

share|improve this question

migrated from stackoverflow.com Aug 27 '11 at 6:20

This question came from our site for professional and enthusiast programmers.

2  
What does the file command show you? –  Keith Aug 27 '11 at 3:02

2 Answers 2

You can use a debugger to look at the core file:

gdb --core=FILE

It should tell you what caused the dump.

share|improve this answer

You should also find that the kernel logs the name and PID of the process that faulted.

share|improve this answer
    
It should be noted that this is only possible if you enabled the relevant option in the kernel. Some kernels come with this by default, others require that you compile it in. –  Tom Wijsman Jul 16 '12 at 2:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.