ps versus top VSZ and RSS
Hi,
I'm trying to find what should be the best limits to my users
and so I'm inspect VSZ and RSS from various users.
Today I found a strange output from ps:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
mlalic 17348 99.1 32.6 241104 84216 ? R 11:26 5:15 lapw1
mlalic 17361 0.0 0.1 1136 496 ? S 11:26 0:00 csh -f
mlalic 17363 99.3 32.7 241100 84404 ? R 11:26 5:15 lapw1
and from top:
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME
COMMAND
17363 mlalic 18 0 84400 82M 576 R 0 99.5 32.7 3:37 lapw1
17348 mlalic 15 0 84212 82M 576 R 0 97.2 32.6 3:37 lapw1
So my question: what is the real VSZ lapw1 processes are using?
Maybe better: are VSZ and SIZE the same thing? Am I
misunderstanding here?
BTW, my system has 2 CPU's, that is, SMP. Do I need special
ps|top for correct info? Where to get them?
# ps -V
procps version 2.0.6
Thanks!
Mario O.de Menezes "Many are the plans in a man's heart, but
IPEN-CNEN/SP is the Lord's purpose that prevails"
http://curiango.ipen.br/~mario Prov. 19.21
http://www.revistalinux.com.br
Reply to: