sysstat/sysstat — pull request #19 by portante (2014-03-19 02:42:45+00:00)
Title: Add /proc/meminfo fields so end users can calculate totals

Hi Sebastien,

I was thinking of adding additional fields from /proc/meminfo. I was going to do it by modifying the existing A_MEMORY activity, but thought that by adding a new activity just for these five additional fields, we could avoid a layout format incompatible change. What do you think?

Kind regards, -peter

We add the following fields from /proc/meminfo which will allow end
users to add them up with the rest of the reported memory data to
see where all their memory is going:

AnonPages
Slab
PageTables
VmallocUsed
KernelStack

Adding up MemFree + Buffers + Cached + SwapCached + AnonPages +
Slab + PageTables + VmallocUsed + KernelStack ~= MemTotal. It is
not dead-on, but it is fairly close that these values become useful.