Jim Warner 2184e90d2e library: modify calculation of 'MEMINFO_MEM_USED' item
In an effort to more accurately reflect 'used' memory,
we will now rely on the kernel's estimate of available
memory. Thus, 'MEMINFO_MEM_USED' will be calculated as
just 'MEMINFO_MEM_TOTAL' less 'MEMINFO_MEM_AVAILABLE'.

Reference(s):
. thread leading to agreed upon change
https://www.freelists.org/post/procps/free-regression-due-to-a-different-calculation-of-Used-memory
. where consensus reached
https://www.freelists.org/post/procps/free-regression-due-to-a-different-calculation-of-Used-memory,11
https://www.freelists.org/post/procps/free-regression-due-to-a-different-calculation-of-Used-memory,12

Signed-off-by: Jim Warner <james.warner@comcast.net>
2022-06-25 11:32:18 +10:00
..
2022-05-03 20:33:44 +10:00
2021-02-20 22:30:31 +11:00
2021-02-20 22:30:31 +11:00
2022-05-26 17:53:43 +10:00
2020-07-05 21:18:36 +10:00
2021-01-21 17:37:48 +11:00
2021-01-21 17:37:48 +11:00
2022-04-11 17:30:25 +10:00