Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-02-2012, 11:59 AM   #1
Registered: Jun 2012
Posts: 100
Blog Entries: 1

Rep: Reputation: Disabled
How to find memory utilization of particular process in linux in GB

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

Last edited by LittleMaster; 11-02-2012 at 12:08 PM.
Old 11-02-2012, 12:05 PM   #2
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 970
Blog Entries: 2

Rep: Reputation: 233Reputation: 233Reputation: 233
/bin/ps auxw
look at these 3 fields %MEM VSZ RSS
Old 11-02-2012, 01:30 PM   #3
LQ Newbie
Registered: Mar 2010
Posts: 20

Rep: Reputation: 1
or the other command is top...
Old 11-02-2012, 01:56 PM   #4
Senior Member
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
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.


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
Script/Tool to monitor the Memory Utilization by Process rajaniyer123 Solaris / OpenSolaris 2 06-23-2011 01:51 AM
process memory,CPU utilization kbarani Linux - Software 1 01-07-2009 04:50 AM
How to restrict memory utilization in a process Micky_123 Programming 5 08-04-2008 02:03 AM
how to find max memory usage for process in Linux by command line kashameni Linux - Newbie 9 06-01-2007 02:39 AM
how to find per-process swap utilization? ananthbv Programming 1 11-02-2006 02:16 AM

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

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