Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 Aug 27 '11 at 6:20

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

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

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


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.