Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-05-2008, 12:34 PM   #1
Registered: Jul 2006
Posts: 46

Rep: Reputation: 15
How Dump Live Process Memory

Hi guys, thanks for reading. I've got this process that is leaking memory. I'd like to inspect it's memory (specifically heap). Unfortunately, it is very crucial and sending it a SIGSEGV is not a good option. Is there any way to get a dump of the process without killing it?

Thanks again.
Old 12-06-2008, 09:22 PM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 13,142

Rep: Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262Reputation: 1262
cat /proc/<pid>/smaps
Old 12-07-2008, 11:24 PM   #3
Registered: Jul 2006
Posts: 46

Original Poster
Rep: Reputation: 15
Cool. Thanks for the info. Any ideas what would be the best way to inspect it? It happens to be a JVM so are there any Java aware tools for core dump inspection?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
analyze process dump using GDB kskkumar Linux - Software 2 05-16-2009 05:41 AM
Process crashes and does not dump core traene Programming 4 10-13-2008 03:37 PM
Memory dump command? fanoliv Linux - General 1 03-29-2008 12:56 AM
restart process after dump abselect Linux - General 1 10-18-2006 09:22 PM
Help Configuring the Memory Used by a Process in RedHat? (Cache Memory on CPU) geogecko Linux - General 3 02-23-2005 03:32 PM

All times are GMT -5. The time now is 09:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration