ifpps: Report more detailed memory stats and number of total processes
commit327eaa2ec7596fd22444c80bac10ed6c23196d2b
authorTobias Klauser <tklauser@distanz.ch>
Sun, 9 Jun 2013 10:15:03 +0000 (9 12:15 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Sun, 9 Jun 2013 10:15:03 +0000 (9 12:15 +0200)
tree64b3754b751ee7a32d3b2c236652438fcf1a7890
parent5fc583888daa89cf6f3c460e1c6995aadfc04099
ifpps: Report more detailed memory stats and number of total processes

Instead of just giving the percentage of memory usage, report the total,
used, active and inactive memory values. Also report total, free and
cached for swap.

Instead of reporting the memory in the 'sys' line add two new lines for
these reports and use the free space to report the total number of
processes.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
ifpps.c