Find the answer to your Linux question:
Results 1 to 3 of 3
I've installed slackware64-current. The laptop I'm on has been on for the last 4-5 days (with firefox/thunderbird/ktorrent/konsole/xchat on). I checked the RAM usage out of curiosity and I got the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Feb 2009
    Posts
    104

    What's eating my RAM?


    I've installed slackware64-current. The laptop I'm on has been on for the last 4-5 days (with firefox/thunderbird/ktorrent/konsole/xchat on). I checked the RAM usage out of curiosity and I got the following:
    Code:
                 total       used       free     shared    buffers     cached
    Mem:          3010       2835        174          0        121       1490
    -/+ buffers/cache:       1224       1786
    Swap:         2000        130       1870
    However, the command 'top' shows that in total there is around 10% of RAM in use at the moment. It would give approximately 300MB, not 2.8GB.
    How does it work?

    thanks

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Actually memory is not used by application, but it is used for disk caching. If memory is not fully utilized by kernel than it is wasted, but by keeping data in cache when an application needs data again it can be provided faster. If you want to see the memory from the perspective of the application you should look at +- buffers/cache line, the free column of this line shows you the memory that can be used for applications.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Linux Newbie
    Join Date
    Feb 2009
    Posts
    104
    Ok, thanks it makes more sense now.

Posting Permissions

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