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

From: Adam Funk (a24061_at_yahoo.com)
Date: 09/15/05

  • Next message: Andrea B.: "[nvidia driver] Twin View + TvOut"
    Date: Thu, 15 Sep 2005 11:14:35 +0100
    To: debian-user@lists.debian.org
    
    

    roberto wrote:

    > and what about "free -m" ??
    > it gives output like this
    > ~:$ free -m
    > total used free shared buffers
    > cached
    > Mem: 885 583 302 0 58 319
    > -/+ buffers/cache: 204 680
    > Swap: 1906 0 1906
    >
    > perhaps it may be useful for you : )

    Only if I run it repeatedly (or use top) and watch it closely while the
    program I'm testing is running.

    I was hoping for something I could run in a batch job to get the maximum
    memory use after the fact.

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

  • Next message: Andrea B.: "[nvidia driver] Twin View + TvOut"

    Relevant Pages

    • Re: Re:Blue Screen
      ... Could be memory, could be several things. ... Just because Ram is new ... >> (watch the wrap) ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: WATCH points sometimes dont break debugging RPG ILE
      ... matter how much the value stored in the watched variable (memory ... I then removed the watch and went to ProgramB using ... ranges and all debug knows is the value stored there changed, ... No matter how many times I ...
      (comp.sys.ibm.as400.misc)
    • Re: WATCH points sometimes dont break debugging RPG ILE
      ... matter how much the value stored in the watched variable (memory ... to the variable in ProgramC and then 'work with watch' to see the ... ranges and all debug knows is the value stored there changed, ... I dont remember the last time it happened ot me but years ago I added ...
      (comp.sys.ibm.as400.misc)
    • Re: HERE IS A TEST FOR YOUR ROBUST LINUX SUSE or (any Linux)...
      ... Watch your memory go down from the leaks. ... The 'puter will be ...
      (alt.os.linux.redhat)
    • Re: Cliffhanger endings - good or bad?
      ... it did so well that they decided to make>t a trilogy and filmed ... Go watch the ending of the first one again. ... Unless both my memory and my ... real cliffhanger and followed up with a sequel. ...
      (rec.arts.comics.marvel.universe)