Linux RAM

Reply

Join Date: Dec 2008
Posts: 20
Reputation: cloudedvision is an unknown quantity at this point 
Solved Threads: 0
cloudedvision cloudedvision is offline Offline
Newbie Poster

Linux RAM

 
0
  #1
Dec 14th, 2008
Is there a way to find how much RAM the application is using up (including external libraries), how much RAM in total is being used on the system and how much RAM the system has installed? This is all on linux.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 628
Reputation: daviddoria is a jewel in the rough daviddoria is a jewel in the rough daviddoria is a jewel in the rough 
Solved Threads: 46
daviddoria daviddoria is offline Offline
Practically a Master Poster

Re: Linux RAM

 
0
  #2
Dec 14th, 2008
use the "top" command, and look under the %MEM column... this is a linux question though, not a c++ question.

Dave
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 392
Reputation: StuXYZ is a glorious beacon of light StuXYZ is a glorious beacon of light StuXYZ is a glorious beacon of light StuXYZ is a glorious beacon of light StuXYZ is a glorious beacon of light StuXYZ is a glorious beacon of light 
Solved Threads: 72
StuXYZ StuXYZ is offline Offline
Posting Whiz

Re: Linux RAM

 
0
  #3
Dec 14th, 2008
Quick comment:

Top can show the total memory (although it actually sorts on CPU until you set the options )

pmap PID

Shows the total memory, including a breakdown of stack/heap memory and all the shared libraries used.

[PID :: process id (use ps to find it) It is a number ]

(Can this be moved to linux questions ??)
experience is the most expensive way to learn anything
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the *nix Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC