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

Getting the memory used by a process



Hi there,

  I am trying to find out the memory used by a process (peak memory
actually). I found the command 'pmap', howeverI cannot find a way to
retrieve the PID of a process when execution time is really short. For
instance, this does not work:

/bin/ls && (ps ax | grep ls)

  Any other tool, other than pmap to do find that information ? I
would also like to avoid something as heady as valgrind --tool=massif.

Thanks !
-- 
Mathieu


Reply to: