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?

link|improve this question
2  
What does the file command show you? – Keith Aug 27 '11 at 3:02
feedback

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

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

2 Answers

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

gdb --core=FILE

It should tell you what caused the dump.

link|improve this answer
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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