Is it possible to get a core dump of a running process and its symbol table

coredumpdebugging

Is it possible to get gdb or use some other tools to create a core dump of a running process and it's symbol table? It would be great if there's a way to do this without terminating the process.

If this is possible, what commands would you use? (I'm trying to do this on a Linux box)

Best Solution

$ gdb --pid=26426
(gdb) gcore
Saved corefile core.26426
(gdb) detach
Related Question