4x_ksg
Last Updated: February 25, 2016
·
178
· bt3gl
1396323302436

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
Say Thanks
Respond