Getting process's memory usage

Burlen Loring burlen.loring@kitware.com
Mon May 19 18:26:00 GMT 2008


Manal Helal wrote:
> because it is a multi-process application with mpich, press a key
> method works only with the first process, and skips on the other, so I
> am not sure the values I am getting at top is the true memory values,
> or that's after the main process memory was erased for the other
> processes,
>   

What about "pause()" to wait for a signal. Then to restart you can send 
a signal to each process.

Burlen Loring
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x137



More information about the Gcc-help mailing list