Re: memory - Slackware

This is a discussion on Re: memory - Slackware ; On 19 Jun 2008 08:37:12 GMT, greymaus wrote: >Slackware 12.1 >Dell Dimension E521. >2.5 gigs memory installed, which runs down to 207 megs at present. >(free -m) >However, (free -tm) gives 2295 being free. >What gives? man free: The -t ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Re: memory

  1. Re: memory

    On 19 Jun 2008 08:37:12 GMT, greymaus wrote:

    >Slackware 12.1
    >Dell Dimension E521.
    >2.5 gigs memory installed, which runs down to 207 megs at present.
    >(free -m)
    >However, (free -tm) gives 2295 being free.
    >What gives?


    man free: The -t switch displays a line containing the totals.

    grant@pooh:~$ free -m
    total used free shared buffers cached
    Mem: 2016 379 1637 0 98 154
    -/+ buffers/cache: 126 1890
    Swap: 2008 0 2008
    grant@pooh:~$ free -tm
    total used free shared buffers cached
    Mem: 2016 379 1637 0 98 154
    -/+ buffers/cache: 126 1890
    Swap: 2008 0 2008
    Total: 4024 379 3645

    What does yours say?

    Grant.
    --
    http://bugsplatter.mine.nu/

  2. Re: memory

    On 2008-06-19, Grant wrote:
    > On 19 Jun 2008 08:37:12 GMT, greymaus wrote:
    >
    >>Slackware 12.1
    >>Dell Dimension E521.
    >>2.5 gigs memory installed, which runs down to 207 megs at present.
    >>(free -m)
    >>However, (free -tm) gives 2295 being free.
    >>What gives?

    >
    > man free: The -t switch displays a line containing the totals.
    >
    > grant@pooh:~$ free -m
    > total used free shared buffers cached
    > Mem: 2016 379 1637 0 98 154
    > -/+ buffers/cache: 126 1890
    > Swap: 2008 0 2008
    > grant@pooh:~$ free -tm
    > total used free shared buffers cached
    > Mem: 2016 379 1637 0 98 154
    > -/+ buffers/cache: 126 1890
    > Swap: 2008 0 2008
    > Total: 4024 379 3645
    >
    > What does yours say?
    >
    > Grant.


    free -m
    total used free shared buffers cached
    Mem: 2529 2327 201 0 322
    1534
    -/+ buffers/cache: 470 2058
    Swap: 0 0 0
    free -tm

    total used free shared buffers cached
    Mem: 2529 2328 201 0
    322 1535
    -/+ buffers/cache: 470 2058
    Swap: 0 0 0


    This is on a machine with X not working. Where is all the memory being
    used?.


    --
    Greymaus

  3. Re: memory

    On 19 Jun 2008 11:37:12 GMT, greymaus wrote:

    >free -m
    > total used free shared buffers cached
    > Mem: 2529 2327 201 0 322
    > 1534
    > -/+ buffers/cache: 470 2058
    > Swap: 0 0 0
    >free -tm
    >
    > total used free shared buffers cached
    > Mem: 2529 2328 201 0
    > 322 1535
    > -/+ buffers/cache: 470 2058
    > Swap: 0 0 0
    >
    >
    >This is on a machine with X not working. Where is all the memory being
    >used?.


    I can't make sense of the above

    Maybe you could try /proc/meminfo? Then 'ps aux' or 'top' to find which
    app is stealing, er using all the memory?

    Grant.
    --
    http://bugsplatter.mine.nu/

  4. Re: memory

    Grant wrote:
    > On 19 Jun 2008 11:37:12 GMT, greymaus wrote:
    >
    >> free -m
    >> total used free shared buffers cached
    >> Mem: 2529 2327 201 0 322
    >> 1534
    >> -/+ buffers/cache: 470 2058
    >> Swap: 0 0 0
    >> free -tm
    >>
    >> total used free shared buffers cached
    >> Mem: 2529 2328 201 0
    >> 322 1535
    >> -/+ buffers/cache: 470 2058
    >> Swap: 0 0 0
    >>
    >>
    >> This is on a machine with X not working. Where is all the memory being
    >> used?.

    >
    > I can't make sense of the above


    Does it make sense with some whitespace removed and the columns aligned?

    free -m
    total used free shared buffers cached
    Mem: 2529 2327 201 0 322 1534
    -/+ buffers/cache: 470 2058
    Swap: 0 0 0


    Here the total memory in use is 2327 megabyte. But that includes the
    memory used as cache (1534 megabytes) of buffers (322 megabytes).
    If you don't take the cache and buffers into account then only 470
    megabytes are used and 2058 are free (the "-/+ buffers/cache" line).

    Regards,

    Kees.

    --
    Kees Theunissen.

+ Reply to Thread