01-22-06 11:10 PM
Depending on how accurate of data you need, usually top or ps will do
the trick. If you want more data than just eye balling top, run ps in
a shell script to have it poll the process every couple of
seconds/minutes too see how much memory it is using. With a command of
ps -o vsz,rss <pid> you can get a good idea of these values.
Also, if you wanted in another shell you could run watch -n 5 "ps -o
vsz,rss <pid>" which will run the command every 5 seconds.
Hope this helps!
Chris
[ Post a follow-up to this message ]
|