[Bug 2383] `free' command doesn't show amount of cached memory

bugzilla at busybox.net bugzilla at busybox.net
Wed Aug 11 22:02:39 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=2383

--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com>  ---
Here is how free from procps-3.2.8 works:

# free -V
procps version 3.2.8

# free
             total       used       free     shared    buffers     cached
Mem:       2056744     568524    1488220          0      24768     233968
-/+ buffers/cache:     309788    1746956
Swap:      4128760          0    4128760

# ls -lR >/dev/null

# free
             total       used       free     shared    buffers     cached
Mem:       2056744     932140    1124604          0     148656     233956
-/+ buffers/cache:     549528    1507216
Swap:      4128760          0    4128760

Semi-cryptic "-/+ buffers/cache:" line means: used and free, corrected for
(buffers + cached).


For reference, bbox on the same machine shows:

# busybox free
              total         used         free       shared      buffers
  Mem:      2056744       931140      1125604            0       148672
 Swap:      4128760            0      4128760
Total:      6185504       931140      5254364

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list