gdb

Google+ reshared post

Want to dump process memory on a Linux i.e. a core file of a running program for gdb for troubleshooting server issues or programs? Try
gcore pid

Load it in gdb:
gdb core.pid

How do I use gdb? Check out GNU gdb cheatsheet for Linux/DevOPS/Sysadmins
* http://darkdust.net/files/GDB%20Cheat%20Sheet.pdf
* http://users.ece.utexas.edu/~adnan/gdb-refcard.pdf
* http://cs.brown.edu/courses/cs033/docs/guides/gdb.pdf
* http://www.sthu.org/code/codesnippets/files/gdb_cheatsheet.pdf

#linux #gnu #sysadmin #gdb #devops

Importé de Google+

Leave a Reply

Your email address will not be published. Required fields are marked *