How do i see the actual memory usage?

Andy Green andy at warmcat.com
Thu Oct 6 09:19:06 UTC 2005


Søren Neigaard wrote:
> Ok, this gives me:
> 
> ---------
>              total       used       free     shared    buffers     cached
> Mem:       1033684    1008540      25144          0     210324     548616
> -/+ buffers/cache:     249600     784084
> Swap:      3156680        696    3155984
> ---------
> 
> Hm but..? Does this mean my system, running almost nothing, uses almost
> all my physical memory?

Top and free are showing the same information.  The answer to your
question is that "buffers" and "cached" reflect temporary usage of
'spare' memory.  A rough idea of how much memory is unallocated is

free + buffers + cached

- free is just sitting there totally unused

- buffers is something to do with storage space for data going to a
block device (?) anyway it is temporary allocation that can be kicked to
free up the memory

- cached is recently seen data from a block device that is kept around
in case it is needed again... it's totally lose-able to get the memory
free again if it is needed for something else.

-Andy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20051006/0dd8f9bb/attachment-0001.bin>


More information about the fedora-list mailing list