Last Updated: February 25, 2016
· bt3gl

Dumping and Debugging Processes in Linux

Finding the Process PID

Let's suppose the process we want is from Python:

$ ps aux | grep python

Or, directly:

$ pidof python

Dumping Process Memory in a Core File

$ gcore pid

Loading it in gdb

$ gdb core.pid
Filed Under