]> granicus.if.org Git - sysstat/commitdiff
sadf: Add a comment concerning CPU values displayed in RAW mode
authorSebastien GODARD <sysstat@users.noreply.github.com>
Tue, 13 Aug 2019 07:50:43 +0000 (09:50 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Tue, 13 Aug 2019 07:50:43 +0000 (09:50 +0200)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
raw_stats.c

index 035df5da3ebf7a17b40dc01da677688b42a66f63..c42ad989eba076c054d3321e742059927c1f4f45 100644 (file)
@@ -105,6 +105,11 @@ void pval(unsigned long long valp, unsigned long long valc)
 /*
  ***************************************************************************
  * Display CPU statistics in raw format.
+ * Note: Values displayed for CPU "all" may slightly differ from those you
+ * would get if you were displaying them in pr_stats.c:print_cpu_stats().
+ * This is because values for CPU "all" are recalculated there as the sum of
+ * all individual CPU values (done by a call to get_global_cpu_statistics()
+ * function).
  *
  * IN:
  * @a          Activity structure with statistics.