Re: Getting process's memory usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux