From dc17776e34b4aeb2364bfdb72028932175bc65ed Mon Sep 17 00:00:00 2001 From: Jan Christoph Uhde Date: Sat, 10 Sep 2022 21:33:46 +0200 Subject: [PATCH] doc-fix: remove `-I int_list` from man-page and help. Interrupts are can be specified via the `--int=int_list` option. --- man/sar.in | 4 ++-- sar.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/man/sar.in b/man/sar.in index 46bc7ec..150be01 100644 --- a/man/sar.in +++ b/man/sar.in @@ -1650,10 +1650,10 @@ The timestamp will also be compliant with ISO 8601 format. .B sar -u 2 5 Report CPU utilization for each 2 seconds. 5 lines are displayed. .TP -.B sar -I 14 -o int14.file 2 10 +.B sar -I ALL -o int_all.file 2 10 Report statistics on IRQ 14 for each 2 seconds. 10 lines are displayed. Data are stored in a file called -.IR "int14.file" "." +.IR "int_all.file" "." .TP .B sar -r -n DEV -f @SA_DIR@/sa16 .RI "Display memory and network statistics saved in daily data file " "sa16" "." diff --git a/sar.c b/sar.c index 1335e13..5b9beac 100644 --- a/sar.c +++ b/sar.c @@ -123,7 +123,7 @@ void usage(char *progname) "[ -A ] [ -B ] [ -b ] [ -C ] [ -D ] [ -d ] [ -F [ MOUNT ] ] [ -H ] [ -h ]\n" "[ -p ] [ -r [ ALL ] ] [ -S ] [ -t ] [ -u [ ALL ] ] [ -V ]\n" "[ -v ] [ -W ] [ -w ] [ -y ] [ -z ]\n" - "[ -I { | SUM | ALL } ] [ -P { | ALL } ]\n" + "[ -I { SUM | ALL } ] [ -P { | ALL } ]\n" "[ -m { [,...] | ALL } ] [ -n { [,...] | ALL } ]\n" "[ -q [ [,...] | ALL ] ]\n" "[ --dev= ] [ --fs= ] [ --iface= ] " @@ -153,7 +153,7 @@ void display_help(char *progname) printf(_("\t-F [ MOUNT ]\n")); printf(_("\t\tFilesystems statistics [A_FS]\n")); printf(_("\t-H\tHugepages utilization statistics [A_HUGE]\n")); - printf(_("\t-I { | SUM | ALL }\n" + printf(_("\t-I { SUM | ALL }\n" "\t\tInterrupts statistics [A_IRQ]\n")); printf(_("\t-m { [,...] | ALL }\n" "\t\tPower management statistics [A_PWR_...]\n" -- 2.50.1