hello sir thanks so much.

however, i'm not sure of its expression.  bytes?  megabytes?

-----Original Message-----
From: Deds Castillo
Sent: Wednesday, February 27, 2002 12:18 PM
Subject: Re: [plug] quick memory question

On Wednesday 27 February 2002 10:20 am, Jan dela Cruz wrote:
> hello.  any command that would show the contents of the current usage of
> memory of ALL the current programs running and their memory usage on a
> redhat linux box?
>
> 'top' doesn't show much since its only limited to 25 lines (?) and CPU
> process is what it shows.
> 'cat /proc/meminfo' doesn't show the programs and their usage.  same as
> 'free'.
> 'ps ax -l|more' has an SZ field (size?) but i'm not sure whether that's in
> megabytes, kilobytes or just bytes.
>
> tnx in advance.

ps axo rss,pid,command

or pipe it to

| sort -g

to have it sorted

you can mix n match the output coz i made it to a resident set size, but you
can also look at virtual sizes as well as shared memory sizes.  i'm sure man
ps would be more than helpful

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to