LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-21-2005, 04:24 PM   #1
wombat53
Member
 
Registered: Jun 2005
Location: Australia
Distribution: Linux linux01 3.9.5-301.fc19.x86_64
Posts: 179

Rep: Reputation: 30
Process memory usage


Hi - I am posting this here since it is such a basic question, altho' I do have experience with Linux.
I just want to get a listing of all running processes and the amount of memory used by each them. I cannot see that this is provided by ps, or by vmstat, or by top. There may be other utilities. I guess something a little along the lines of WIN Task Mgr, which gives precisely this info.
I apologize for the simplicity of this request, and maybe even ps does have that facility...that would indeed be the obvious command; I just can't find it.
Thanks
wombat
 
Old 07-21-2005, 04:42 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
ps -AH v

will get you what you want RSS is resident memory.
 
Old 07-21-2005, 05:38 PM   #3
wombat53
Member
 
Registered: Jun 2005
Location: Australia
Distribution: Linux linux01 3.9.5-301.fc19.x86_64
Posts: 179

Original Poster
Rep: Reputation: 30
Leon
That's great. I presume the RSS is in KB?
Is MAN the best place to look for explanation of the column headers, or is there a better place?
Thanks
George
 
Old 07-21-2005, 06:06 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,599
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
You should be aware that many memory-management algorithms are "lazy," never doing any more work than they have to unless, and until, genuine "memory pressure" occurs. Figures quoting memory-use may seem inflated.
 
Old 07-21-2005, 06:16 PM   #5
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
I guess something a little along the lines of WIN Task Mgr,
ksysguard for example. Either ctrl+escape in KDE, look in the menu for 'KDE System Monitoring' or something or run ksysguard at a terminal.
 
Old 07-21-2005, 07:42 PM   #6
wombat53
Member
 
Registered: Jun 2005
Location: Australia
Distribution: Linux linux01 3.9.5-301.fc19.x86_64
Posts: 179

Original Poster
Rep: Reputation: 30
tke - that's great...many thanks
 
  


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
how to programmatically monitor a process memory usage? thanhvn Programming 14 02-20-2009 01:15 AM
how to show the memory usage per process ty263 Linux - General 3 09-12-2008 06:36 AM
how to programmatically monitor a process memory usage? thanhvn Linux - Software 1 11-15-2005 08:44 PM
about displaying process memory usage maginotjr Slackware 2 09-13-2005 11:43 AM
limiting cpu and memory usage by user process amitkush Linux - Security 2 07-04-2003 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:51 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration