LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-28-2004, 06:56 AM   #1
shayer009
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
Determine process memory consumption ?


Hi every one

I am very new to Linux programming.

How can i determine how much memory a process is consuming in runtime at any stage.

i know this command

ps -aux --sort %mem

it only gives me the %usage of the memory. I want the memory consumption in terms of BYTES (KB, MB)

Please help.

Regards
 
Old 10-28-2004, 02:03 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
ps -aux --sort s (see the man ps pages), in the section Sort Keys.
 
  


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
process memory consumption ilnli Linux - General 4 09-08-2005 07:13 PM
Tips on reducing memory consumption Boyer Linux - Software 13 01-17-2005 03:20 PM
Slackware memory consumption muhkuhmasta Slackware 5 07-15-2004 05:51 AM
high memory consumption and slow speed ryancw Linux - Newbie 1 03-24-2004 09:10 PM
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 09:43 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