Re: Easy way to determine how much memory a program used?
From: Adam Funk (a24061_at_yahoo.com)
Date: 09/15/05
- Previous message: Seeker5528: "Re: Is there a screencapture utility?"
- In reply to: Frank Gevaerts: "Re: Easy way to determine how much memory a program used?"
- Next in thread: roberto: "Re: Easy way to determine how much memory a program used?"
- Reply: roberto: "Re: Easy way to determine how much memory a program used?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 15 Sep 2005 09:48:08 +0100 To: debian-user@lists.debian.org
Frank Gevaerts wrote:
> 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.
As you say, it doesn't work any more. I tried that with various commands on
two machines (2.6.11 and 2.4.something) and consistently got this:
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 0
Average resident set size (kbytes): 0
because would be exactly the sort of information I'm looking for.
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: Seeker5528: "Re: Is there a screencapture utility?"
- In reply to: Frank Gevaerts: "Re: Easy way to determine how much memory a program used?"
- Next in thread: roberto: "Re: Easy way to determine how much memory a program used?"
- Reply: roberto: "Re: Easy way to determine how much memory a program used?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|