I noticed that the free command in busybox doesn't work the
same way my desktop free does.

bb free does not include cached memory, nor does it add
a -/+ buffers/cached line.
this can confuse a user to think there is less memory available.

Is there a reason why not bb free parse /proc/meminfo and output
somthing similar to

             total       used       free     shared    buffers     cached
Mem:       1547368    1505568      41800          0     306176     455968
-/+ buffers/cache:     743424     803944
Swap:       987988      75352     912636
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to