Mathieu Malaterre wrote:
> I am trying to find out the memory used by a process (peak memory
> actually). [...] I cannot find a way to
> retrieve the PID of a process when execution time is really short.
Run your process in the background and then do "echo $!".
--
John Hasler
--
To UNSUBSCRI
Mathieu Malaterre wrote:
> I am trying to find out the memory used by a process (peak memory
> actually). [...] I cannot find a way to
> retrieve the PID of a process when execution time is really short.
Use ulimit to set the allowed memory progressively lower?
--
To UNSUBSCRIBE, email to deb
Excerpts from Mathieu Malaterre's message of Wed Dec 08 11:59:32 +0100 2010:
[memory usage of short-lived process]
> Any other tool, other than pmap to do find that information ? I
> would also like to avoid something as heady as valgrind --tool=massif.
If it's only a single process you're inte
Mathieu Malaterre:
>
> 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 l
On 8.12.2010 12:59, Mathieu Malaterre wrote:
> 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
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, o
6 matches
Mail list logo