Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-06-2004, 06:04 AM   #1
LQ Newbie
Registered: Nov 2004
Location: kolkata
Posts: 5

Rep: Reputation: 0
Question how 2 c the memory used by processes

in windows in windows task manager > process> we can see how much memory each process is taking.
how to see the same thing for each process running in linux o.s. ?
Old 12-06-2004, 06:26 AM   #2
Registered: Apr 2004
Location: France
Distribution: Mandrake
Posts: 67

Rep: Reputation: 15
you have many tools to look at the behavior of your system.

1- The most commonly used is "ps". it has lots of options, and (if not suffcicient ) you can feed its output to "grep" to filter through.
Please refer to the man page of ps and worked out examples for more informations.

2- "top" gives a real time view of your processes (their ID, memory and CPU usage, ...). Again, refer to man pages for all the options.
Old 12-08-2004, 03:13 AM   #3
LQ Newbie
Registered: Nov 2004
Location: kolkata
Posts: 5

Original Poster
Rep: Reputation: 0
top -s
is only showing a few of the running processes.
how to see th memory status of all the processes?
Old 12-08-2004, 07:40 AM   #4
Registered: Nov 2004
Location: India
Distribution: RedHat, PCQLinux, Fedora
Posts: 95

Rep: Reputation: 15
u have to execute in batch mode

top -n 1 -b (n is the number of iterations)

u can choose to pipe the output to other process, also.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
shared memory between two processes davidtexs3 Linux - Software 1 11-25-2005 02:25 PM
sharing memory between processes spuzzzzzzz Programming 2 10-13-2004 07:18 AM
Listing processes by memory usage? Seventh Linux - Newbie 3 06-17-2004 10:05 AM
Memory And Processes smartes Linux - General 5 01-07-2003 02:02 PM
Memory Leaks and Processes in Linux... Sonny Programming 10 03-04-2002 05:54 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:39 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