Re: How much memory is really free?

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

 



Hi again and sorry for replying to myself,

On Wed, Jul 27, 2005 at 11:57:03AM +0200, Sven Schuster told us:
> looking at the output of "free -m":
> 
>              total       used       free     shared    buffers     cached
> Mem:          1517       1417        100          0        600        362
> -/+ buffers/cache:        454       1062
> Swap:         2047          0       2046
> 
> I think it's more the other way around:
> 
> actually_used = used - buffers - cached
> unused = total - actually_used

or even simpler:

unused = free + buffers + cached

sorry for not turning on my brain in the first posting :-)


Sven

-- 
Linux zion 2.6.13-rc3-mm1 #12 PREEMPT Sun Jul 24 02:04:45 CEST 2005 i686 athlon i386 GNU/Linux
 12:11:21 up 2 days, 12:21,  2 users,  load average: 0.08, 0.12, 0.04

Attachment: pgppcqTECxDpR.pgp
Description: PGP signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux