]> granicus.if.org Git - sysstat/commit
SVG: Fix how min and max values are calculated for some memory metrics
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 9 Apr 2016 08:15:59 +0000 (10:15 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 9 Apr 2016 08:15:59 +0000 (10:15 +0200)
commitc27e4cefb0ac089141b6094e5fc39ce85680245c
tree855bf45814d790f81f481a5b667ce67c7b59716d
parentd4533b90519800629a815af8d9f838899a214483
SVG: Fix how min and max values are calculated for some memory metrics

Be more accurate when calculating the min and max values for memused,
swpused, %memused, %commit, %swpused and %swpcad.
Previously these values could have been wrong if the total amount of
memory or swap had changed.

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