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
Written by bt3gl
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Gdb
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#