<p>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.  </p>

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

[{'answer_id': 68190, 'author': 'DustinB', 'author_id': 7888, 'author_profile': 'https://Stackoverflow.com/users/7888', 'pm_score': 7, 'selected': True, 'text': '<pre>\n$ gdb --pid=26426\n(gdb) gcore\nSaved corefile core.26426\n(gdb) detach\n</pre>\n'}, {'answer_id': 14279282, 'author': 'Alex Zeffertt', 'author_id': 779147, 'author_profile': 'https://Stackoverflow.com/users/779147', 'pm_score': 6, 'selected': False, 'text': '<p>Or run <code>gcore $(pidof processname)</code>.</p>\n\n<p>This has the benefit (over running gdb and issuing commands to the CLI) that you attach and detach in the shortest possible time. </p>\n'}, {'answer_id': 43099251, 'author': 'dev', 'author_id': 2456048, 'author_profile': 'https://Stackoverflow.com/users/2456048', 'pm_score': 1, 'selected': False, 'text': '<p>You can used <code>generate-core-file</code> command in gdb to generate core dump of running process.</p>\n'}]
['https://Stackoverflow.com/questions/68160', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/4883/']