On Mon, Jul 12, 2010 at 10:15:06AM -0400, Jason Pyeron wrote:
> The man page does not say much, but does this mean I have only 396668 used by
> programs (used-cached)?
> 
> Or shoul I be reading the 2nd line?

Yes, you should be reading the second line.

> [r...@ten-212 ~]# free
>              total       used       free     shared    buffers     cached
> Mem:       7918844    5478820    2440024          0     111684    5082152
> -/+ buffers/cache:     284984    7633860
> Swap:      9961464        204    9961260

This first line includes all files that are being cached in memory (for
faster reading if needed later, for example).  That memory will be freed
up if needed.  The second line doesn't include that cache, so is a
better indicator of actual memory use.

(And on that first line, "cached" is already part of "used", so your
free memory counting the cache is 2440024; it's just provided for
informational purposes.)

--keith

-- 
kkel...@wombat.san-francisco.ca.us

Attachment: pgpBPjCB9WA8m.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to