[MPICH] processes memory consumption

chong tan chong_guan_tan at yahoo.com
Tue Aug 14 13:50:04 CDT 2007

you can call getrusage() at the end of your code, that will get you everything you are looking for.


----- Original Message ----
From: Manal Helal <manalorama at gmail.com>
To: mpich-discuss at mcs.anl.gov
Sent: Monday, August 13, 2007 8:34:48 PM
Subject: [MPICH] processes memory consumption


I am trying to get the memory consumption of several processes created
by mpirun. The time command reports the overall time consumption, and
using the %M it returns always zeros for memory, only time values are
reasonable, same to getrusage function, I always get zeros in all
fields, and the time fields as well using the RUSAGE_SELF parameter,

I tried the graphical process manager like KSysGuard, the problem is
catching the memory values for process that end too fast, or for
waiting for long processes, same about top command, they need
continuous and fast accurate monitoring, won't work by the eye,

Can I have some suggestions for commands or utilities that I can use
to monitor the processes maximum memory (Physical and Virtual)
consumption after it finishes,

I appreciate your help a lot,

Kind Regards,


Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20070814/e53175e7/attachment.htm>

More information about the mpich-discuss mailing list