| On a FreeBSD system I see: root@agrajag ~ # facter memory.system {{{}} available => "155.02 MiB", available_bytes => 162549760, capacity => "96.08%", total => "3.87 GiB", total_bytes => 4150763520, used => "3.71 GiB", used_bytes => 3988213760 } While this indicate the available memory being quite low, it is in reality not the case with just ~57% of the RAM being used: root@agrajag ~ # sysctl vm.stats.vm.v_page_count vm.stats.vm.v_wire_count vm.stats.vm.v_active_count vm.stats.vm.v_page_count: 980446 vm.stats.vm.v_wire_count: 103938 vm.stats.vm.v_active_count: 432388 root@agrajag ~ # top -b last pid: 30691; load averages: 1,22, 0,88, 0,80 up 15+21:38:11 12:15:02 119 processes: 2 running, 117 sleeping CPU: 2,7% user, 0,0% nice, 1,0% system, 0,1% interrupt, 96,2% idle Mem: 1751M Active, 834M Inact, 592M Laundry, 405M Wired, 148M Free {{root@agrajag ~ # vmstat -H procs memory page disks faults cpu r b w avm fre flt re pi po fr sr da0 cd0 in sy cs us sy id 0 0 0 48819820 176524 640 3 0 0 591 598 0 0 18 2224 871 3 1 96 }} The facter code rely on the the `fre` field of the vmstat output which is the "size of the free list" of the system virtual memory and does not reflect the size of the available memory. |