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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-21-2005, 05:24 PM
|
#1
|
Member
Registered: Jun 2005
Location: Australia
Distribution: Linux linux01 3.9.5-301.fc19.x86_64
Posts: 179
Rep:
|
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
|
|
|
07-21-2005, 05:42 PM
|
#2
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313
Rep:
|
ps -AH v
will get you what you want RSS is resident memory.
|
|
|
07-21-2005, 06:38 PM
|
#3
|
Member
Registered: Jun 2005
Location: Australia
Distribution: Linux linux01 3.9.5-301.fc19.x86_64
Posts: 179
Original Poster
Rep:
|
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
|
|
|
07-21-2005, 07:06 PM
|
#4
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,091
|
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.
|
|
|
07-21-2005, 07:16 PM
|
#5
|
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549
Rep:
|
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.
|
|
|
07-21-2005, 08:42 PM
|
#6
|
Member
Registered: Jun 2005
Location: Australia
Distribution: Linux linux01 3.9.5-301.fc19.x86_64
Posts: 179
Original Poster
Rep:
|
tke - that's great...many thanks
|
|
|
All times are GMT -5. The time now is 09:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|