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

Re: Easy way to determine how much memory a program used?

On Wed, Sep 14, 2005 at 07:20:01PM +0100, Adam Funk wrote:
> Is there anything like "time command args" that will run "command args" 
> and then print out the maximum amount of memory it used?

Normally, /usr/bin/time -v, but apparently since 2.4 kernels a lot of
information is not available.


> Thanks,
> Adam
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

Reply to: