My original message is at the bottom of this email. Thank you to all who
responded. The list of all these kind people includes:
Tim Gallagher
Shiv AgarWal
Nikola Milutinovic
Lars Bro
Alan Davis
Roger Leaonard
Declan Lennon
Dr.Tom Blinn
alan_at_nabeth.cxo.dec.com
Two basic answers were offered, and they both work. I am quoting
alan_at_nabeth.cxo.dec.com:
1. The ps(1) command with suitable options (aux in BSD mode) will print the
resident set size (the RSS field), which is probably the closest
approximation you'll get to per-process physical memory use.
2. vmstat has options that will show various summaries of how kernel memory
is used. The -P option may be the most useful.
Other interesting option sets for ps that were offered are:
ps axv
ps auxww (in particular the %MEM column)
ps -A -o pid,pmem,rss,command
Lars also mentioned the VSZ column of ps as that showing the size of the
virtual address space.
Thanks again,
Carlos Martinez-Mascarua
ALSTOM ESCA
11120 NE 33rd Place
Bellevue, Wa. 98004
-----Original Message-----
From: tru64-unix-managers-owner_at_ornl.gov
[mailto:tru64-unix-managers-owner_at_ornl.gov]On Behalf Of Carlos
Martinez-Mascarua
Sent: Tuesday, March 21, 2000 5:01 PM
To: tru64-unix-managers_at_ornl.gov
Subject: Physical memory usage
Dear Tru64-Unix Managers,
I would like to know if there is a command that can actually tell me how
much physical memory is currently allocated to processes.
Thanks in advance,
Carlos Martinez-Mascarua
cmm_at_alstom.esca.com
Received on Thu Mar 30 2000 - 01:35:25 NZST