LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 12-06-2004, 07:04 AM   #1
imppayel
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, 07:26 AM   #2
bahramH
Member
 
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, 04:13 AM   #3
imppayel
LQ Newbie
 
Registered: Nov 2004
Location: kolkata
Posts: 5

Original Poster
Rep: Reputation: 0
top -s
m
is only showing a few of the running processes.
how to see th memory status of all the processes?
 
Old 12-08-2004, 08:40 AM   #4
hk_linux
Member
 
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.
 
  


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 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 03:25 PM
sharing memory between processes spuzzzzzzz Programming 2 10-13-2004 08:18 AM
Listing processes by memory usage? Seventh Linux - Newbie 3 06-17-2004 11:05 AM
Memory And Processes smartes Linux - General 5 01-07-2003 03:02 PM
Memory Leaks and Processes in Linux... Sonny Programming 10 03-04-2002 06:54 PM


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

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration