First page Back Continue Last page Overview Graphics
A record of a processes state - can be big
- Can be examined long after the event, on another machine.
ulimit -c 600000 (e.g.) to enable
Ctrl-\ to force a core dump (send SIGQUIT)
- Useful on a program which has hung
Examine using gdb
It is best to keep core files disabled in normal use since you can easily use 100s of MB of disc space with core files.
Remember that Ctrl-\ only works on a command line for some command line programs; its generated in a similar way to Ctrl-C.
Core files can be useful when a program only crashes occasionally - and when you weren't expecting it!