From f386a8a7dd0fb0335273952ad3f3e7717ff7fe35 Mon Sep 17 00:00:00 2001 From: Sebastien Godard Date: Sun, 24 Oct 2010 21:38:41 +0200 Subject: [PATCH] sadc -S POWER didn't include voltage inputs statistics. Voltage input statistics was not included in the POWER statistics group for sadc. This is now fixed. --- CHANGES | 2 ++ sadc.c | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGES b/CHANGES index fc6eb82..ecd7463 100644 --- a/CHANGES +++ b/CHANGES @@ -10,6 +10,8 @@ xxxx/xx/xx: Version 9.1.6 - Sebastien Godard (sysstat orange.fr) * Added hugepages utilization statistics to sar and sadc. * Fixed some differences between XML output (as displayed by sadf -x) and DTD document. + * sadc -S POWER didn't include voltage inputs statistics. + This is now fixed. * [Ivana Varekova]: Moved manual pages to $prefix/share/man instead of $prefix/man. * [Ivana Varekova]: Fixed configure's --disable-man-group option. diff --git a/sadc.c b/sadc.c index ad904ae..fb2df6f 100644 --- a/sadc.c +++ b/sadc.c @@ -139,6 +139,7 @@ void parse_sadc_S_option(char *argv[], int opt) /* Select activities related to power management */ COLLECT_ACTIVITY(A_PWR_CPUFREQ); COLLECT_ACTIVITY(A_PWR_FAN); + COLLECT_ACTIVITY(A_PWR_IN); COLLECT_ACTIVITY(A_PWR_TEMP); COLLECT_ACTIVITY(A_PWR_WGHFREQ); } -- 2.40.0