LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 05-20-2011, 09:32 AM   #1
grob115
Member
 
Registered: Oct 2005
Posts: 527

Rep: Reputation: 32
pmap vs jmap


Can someone explain how these 2 differ? I ran both of them against a Java process and it appears they report the same shared libraries but each report a different amount of memory used. The pmap in particular also separates the code and data section of the shared libraries, and also a lot of other non shared libraries stuff. Just wondering which reports the true memory usage.
 
Old 06-20-2011, 10:35 AM   #2
Valentin
LQ Newbie
 
Registered: Jun 2011
Posts: 8

Rep: Reputation: Disabled
As far as I can tell from the jmap manpage, jmap does not show the stack of the selected process.
Maybe this brings in a slight difference in reporting the mem usage. Please correct me if I am wrong.
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pmap grob115 Linux - General 9 05-26-2011 06:37 PM
Pmap update fraFFfra Linux - Newbie 3 10-08-2010 04:46 AM
pmap -x available on all linux? amol28kulkarni Linux - Newbie 1 01-24-2009 01:44 AM
interpreting output of pmap on Linux kernel 2.4 rhegde Linux - General 0 08-20-2006 01:32 AM
pmap for linux doraemona Linux - General 0 05-11-2002 04:43 AM


All times are GMT -5. The time now is 02:03 AM.

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