Reading from /proc/$pid/stat is also pretty easy, and while there are probably some portability concerns, it is at least the same across centos and ubuntu, which are where I spend most of my time.
vsize is part of the contents of the file.
Dave
In reply to Re: Memory and CPU utilization scripts without any installations of modules
by davido
in thread Memory and CPU utilization scripts without any installations of modules
by Sekhar Reddy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |