]> granicus.if.org Git - sysstat/commit
mpstat: Compute stats for node "all" as the sum of individual CPU
authorSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 23 Mar 2018 11:14:49 +0000 (12:14 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 23 Mar 2018 11:14:49 +0000 (12:14 +0100)
commite291af0761c674089ff42f7dc583ea50d60e9827
tree3b3c198a7c9e363ce8800c88a99c4ad3dde88528
parentf7842e652690351d52993b8a03c95a93ef849862
mpstat: Compute stats for node "all" as the sum of individual CPU

Don't use global CPU stats from /proc/stat file for node "all".
Compute stats for node "all" as the sum of individual ones.
Also better handle CPUs that go offline or back online.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
mpstat.c