It appears the UNIX 4.5 app does not take into account file system caching when reporting free memory. For example, if I run etc/apps/unix/bin/vmstat.sh:
-bash-3.2$ ./vmstat.sh
memTotalMB memFreeMB memUsedMB memFreePct memUsedPct pgPageOut swapUsedPct pgSwapOut cSwitches interrupts forks processes threads loadAvg1mi
96165 50977 45187 53.0 47.0 2240619655 0.0 0 3534174241 855326036 56348253 286 3384 0.78
Splunk would tell me I have only 53% free memory on the server. However, the free command reports a more accurate story:
-bash-3.2$ free -m
total used free shared buffers cached Mem: 96165 45184 50980 0 1848 22945
-/+ buffers/cache: 20390 75774 Swap: 8189 0 8189
So in reality I have 78% free memory if you consider the file system cache. Has anyone else noticed this?
... View more