[mpich-discuss] Getting each process memory usage
Manal Helal
manalorama at gmail.com
Thu May 15 21:15:33 CDT 2008
Hi
I previously asked about memory usage for each process, and advised to use
getrusage, it gives me the time usage correct, however the memory usage
(physical and virtual) are always zero
I found that linux keep process info in /proc/pid/mem or something like
that, but I have to be admin to read this folder, is there a way using the
process id, to get its size in memory before I cleanup and free the memory
allocated?!
I appreciate your help a lot,
Kind Regards,
Manal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080516/472ee2d4/attachment.htm>
More information about the mpich-discuss
mailing list