LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to find memory utilization of particular process in linux in GB (http://www.linuxquestions.org/questions/linux-newbie-8/how-to-find-memory-utilization-of-particular-process-in-linux-in-gb-4175435315/)

LittleMaster 11-02-2012 10:59 AM

How to find memory utilization of particular process in linux in GB
 
Hi
Im running linux server which shows lots more memory consumed and running on swap .I want to find out top memory consumed by particular process alone


i dont want to clear cache are increase swap memory .I just want to find out root cause where my memory is taking .


Please provide the steps what are the thing i have to loook to find the hidden memory holding process

linosaurusroot 11-02-2012 11:05 AM

/bin/ps auxw
look at these 3 fields %MEM VSZ RSS
also http://www.linuxatemyram.com/

lakhera2010 11-02-2012 12:30 PM

or the other command is top...

shivaa 11-02-2012 12:56 PM

How much total memory your system has? It actually depends on the total memory in use & that's why things go with percentage of memory consumption, instead of amount of memory in use. You should try top command to check memory utilization by each process, sorted in order of most memory consuming processes on the top of the list. In top cmd output, percentage of cpu memory in use is amount of total memeory in use i.e. physical + swap. By default top cmd gives amount of memory used in KBs.


All times are GMT -5. The time now is 07:45 AM.