How is the Physical Memory utilization calculated by the cdm probe on a Linux platform?
Memory and swap usage is found by reading the file ”/proc/meminfo”
without mem_buffer_used(Default Behavior) or mem_buffer_used = no
Physical Total = MemTotal –( MemFree + Buffers + Cached)
Here is the calculation we use with mem_buffer_used = "yes" enabled:
Physical Total = MemTotal –( MemFree)
The amount of physical memory used is based on the formula:
MemTotal - MemFree - Buffers – Cached. This is due to the fact that buffers and cached data are instantly available to any process which requests more memory.
32847836 - 182920 - 0 - 982728 which equals-> 31,682,188.
31,682,188 divided by 32847836 is .9645137049515225 which is approx. 96% used.