<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>you can call getrusage() at the end of your code, that will get you everything you are looking for.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">tan</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Manal Helal &lt;manalorama@gmail.com&gt;<BR>To: mpich-discuss@mcs.anl.gov<BR>Sent: Monday, August 13, 2007 8:34:48 PM<BR>Subject: [MPICH] processes memory consumption<BR><BR>
<DIV>Hello<BR><BR>I am trying to get the memory consumption of several processes created<BR>by mpirun. The time command reports the overall time consumption, and<BR>using the %M it returns always zeros for memory, only time values are<BR>reasonable, same to getrusage function, I always get zeros in all<BR>fields, and the time fields as well using the RUSAGE_SELF parameter,<BR><BR>I tried the graphical process manager like KSysGuard, the problem is<BR>catching the memory values for process that end too fast, or for<BR>waiting for long processes, same about top command, they need<BR>continuous and fast accurate monitoring, won't work by the eye,<BR><BR>Can I have some suggestions for commands or utilities that I can use<BR>to monitor the processes maximum memory (Physical and Virtual)<BR>consumption after it finishes,<BR><BR>I appreciate your help a lot,<BR><BR>Kind Regards,<BR><BR>Manal</DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>
      <hr size=1>Boardwalk for $500? In 2007? Ha! <br><a href="http://us.rd.yahoo.com/evt=48223/*http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow">Play Monopoly Here and Now</a> (it's updated for today's economy) at Yahoo! Games.</body></html>