Results 1 to 4 of 4

Thread: free

  1. #1
    Join Date
    Nov 2009
    Location
    Uruguay
    Posts
    737

    Default free

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hi, when I use free -m its output is like this:
    [vampird@Sharwyn]:~$ free -m
    total used free shared buffers cached
    Mem: 1998 1964 33 0 16 705
    - -/+ buffers/cache: 1242 755
    Swap: 4102 54 4047
    [vampird@Sharwyn]:~$

    but, what are the -/+ buffers/cache line? Mem is the phisical memory,
    Swap is obvious

    - --
    VampirD

    Microsoft Windows is like air conditioning
    Stops working when you open a window.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.12 (GNU/Linux)
    Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

    iEYEARECAAYFAkuOu2EACgkQJQ+0ABWtaVnwaQCeJ4g5h6O7ePg1LE9iQCMMqIRN
    KCoAoIInGiB/aVmQZs9Dna/6C5ppJ5wC
    =cijD
    -----END PGP SIGNATURE-----

  2. #2
    palladium NNTP User

    Default Re: free

    VampirD wrote:
    > Hi, when I use free -m its output is like this:
    > [vampird@Sharwyn]:~$ free -m
    > total used free shared buffers cached
    > Mem: 1998 1964 33 0 16 705
    > -/+ buffers/cache: 1242 755
    > Swap: 4102 54 4047


    linux does not 'release' memory until it has to...that is, it keeps in
    RAM everything it can *until* the memory is needed for something
    else...the philosophy is that you might need it again and it is a lot
    faster to fetch it from memory, than from disk...so, just hold on to it..

    so, if you look at the mem line almost ALL is being used for something...

    the buffer/cache is where you learn what all that memory is being used
    for..

    the 1242 is being used by programs now active....the 755 is not really
    being used by anything...it is just that stuff still waiting to be used...

    if another program needs more memory the cache/buffer used number will
    increase and the cache/buffer free number will go down..

    see?

    --
    palladium

  3. #3
    Join Date
    Nov 2009
    Location
    Uruguay
    Posts
    737

    Default Re: free

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    thanks

    - --
    VampirD
    No in elenath hlar nan hd gn
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.12 (GNU/Linux)
    Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

    iEYEARECAAYFAkuO0KMACgkQJQ+0ABWtaVlIqQCggqp6hTPkhLZQ562ozHvyDxGC
    8FAAoOPSTrVDX17aEQr9SPpRpP/aJbST
    =gEJ5
    -----END PGP SIGNATURE-----

  4. #4
    palladium NNTP User

    Default Re: free

    VampirD wrote:
    > thanks


    my pleasure

    --
    palladium

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •