LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-08-2005, 04:52 PM   #1
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Rep: Reputation: 32
process memory consumption


from which command we can know that which process is eating how much of memory not in percentage but exactly in figures (kb,mb) cause ps command show in percentage
 
Old 09-08-2005, 05:00 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Look in /proc/PID/status. VMSize is the total mapped virtual memory. Generally, you should subtract VMLibs (library size) from this to find out how much memory it has consumed by itself. And in the future, please try to use complete single sentences... it makes it much easier for us to understand your questions.
 
Old 09-08-2005, 05:31 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
ps -A u
Look at VSZ

pmap



Cheers,
Tink
 
Old 09-08-2005, 05:52 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Or that. Nice call, tink.
 
Old 09-08-2005, 07:13 PM   #5
JCipriani
Member
 
Registered: Aug 2005
Location: Pittsburgh, PA, USA
Distribution: Redhat 9, OS X 10.4.x, Win2K
Posts: 85

Rep: Reputation: 15
Or "top", check out this thread.
 
  


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
How to measure a program's peak memory consumption? hae Linux - Software 2 06-23-2005 08:39 AM
Tips on reducing memory consumption Boyer Linux - Software 13 01-17-2005 03:20 PM
Determine process memory consumption ? shayer009 Linux - General 1 10-28-2004 02:03 PM
Slackware memory consumption muhkuhmasta Slackware 5 07-15-2004 05:51 AM
gnome: huge memory consumption s56vpe Linux - Newbie 5 01-18-2004 07:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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