I had been under the assumption that
mem.physmem = mem.util.free + mem.util.shared + mem.util.cached +
On a RH7.2 box (kernel 2.4.7-10) this is not the case.
This is due to mem.util.cached being comprised of cache in ram and
cache in swap. As denoted by the new entry (was not in RH7.1 [kernel
2.4.2-2]) in /proc/meminfo, "SwapCached".
This would be a pretty useful metric to grab, as would most of the
other one-liners in /proc/meminfo. So should I:
1) come up with a patch for the the linux pmda?
2) let the maintainers do it?
3) or roll up a new one?
Given the state of my C-code lately .. I would vote for #2 *8)
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!