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