library: modify calculation of 'MEMINFO_MEM_USED' item (2184e90d) · Commits · procps-ng / procps · GitLab

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'....