[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Process Information..



Sanjay wrote:

>  how do I get the size ( process memory ) of a particular
> process given its  PID ? 

What about reading the file

"/proc/<PID>/stat" or the file "/proc/<PID>/status" ?

Format of the "stat" file will be in "man proc".

HTH
Kousik