[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Use of Swap Space



On Sat, Jan 31, 2009 at 1:27 PM, Nuno Magalhães <nunomagalhaes@eu.ipp.pt> wrote:

> It seems as though free won't return the accurate size.

I also have 4 gb of RAM (new Quadcore Intel) and 'free -g' reports '3'
as well, I suspect this is underrounding to the extreme, and 'free
-gb' returns a more realistic number:

fox@newbox:~$ free -gb
             total       used       free     shared    buffers     cached
Mem:    4018106368 3988586496   29519872          0   26746880 2479407104
-/+ buffers/cache: 1482432512 2535673856
Swap:   8389775360    5529600 8384245760

It isn't that RAM has a FAT - those things only are present on
filesystems. It is more likely that free's interpretation doesn't
include kernel memory. Also, 4gb may be 4*1024*1024 not 4*1000*1000,
although that is more likely to be a concern with hard disk capacity.


Reply to: