From a83e7571ccfb83337679eef959c7246515fa739a Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Sun, 30 Jun 2013 15:07:44 +0200 Subject: [PATCH] "sar -o" now collects all possible statistics sar now collects all possible statistics (including partitions ones) when data are saved into a file with option -o ("sar -o" calls sadc with option "-S XALL" instead of "-S ALL"). --- sar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sar.c b/sar.c index 9eafc6a..b03b486 100644 --- a/sar.c +++ b/sar.c @@ -1400,9 +1400,9 @@ int main(int argc, char **argv) /* Writing data to a file (option -o) */ if (to_file[0]) { - /* Collect all possible activities (option -S ALL for sadc) */ + /* Collect all possible activities (option -S XALL for sadc) */ salloc(args_idx++, "-S"); - salloc(args_idx++, K_ALL); + salloc(args_idx++, K_XALL); /* Outfile arg */ salloc(args_idx++, to_file); } -- 2.40.0