LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 11-02-2012, 10:59 AM   #1
LittleMaster
Member
 
Registered: Jun 2012
Posts: 98
Blog Entries: 1

Rep: Reputation: Disabled
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

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

Rep: Reputation: 198Reputation: 198
/bin/ps auxw
look at these 3 fields %MEM VSZ RSS
also http://www.linuxatemyram.com/
 
Old 11-02-2012, 12:30 PM   #3
lakhera2010
LQ Newbie
 
Registered: Mar 2010
Posts: 20

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

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


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


All times are GMT -5. The time now is 07:08 PM.

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