From e9126989aca4e8c745aecda8d64d404fd6a244ff Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Sun, 21 Aug 2016 08:00:50 +0200 Subject: [PATCH] iostat: Update manual page Explain new "-o JSON" option. Signed-off-by: Sebastien GODARD --- man/iostat.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/man/iostat.in b/man/iostat.in index 9f08ed0..543ec05 100644 --- a/man/iostat.in +++ b/man/iostat.in @@ -1,11 +1,11 @@ -.TH IOSTAT 1 "OCTOBER 2015" Linux "Linux User's Manual" -*- nroff -*- +.TH IOSTAT 1 "AUGUST 2016" Linux "Linux User's Manual" -*- nroff -*- .SH NAME iostat \- Report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions. .SH SYNOPSIS .ie 'yes'@WITH_DEBUG@' \{ .B iostat [ -c ] [ -d ] [ -h ] [ -k | -m ] [ -N ] [ -t ] [ -V ] [ -x ] [ -y ] [ -z ] -.B [ -j { ID | LABEL | PATH | UUID | ... } ] +.B [ -j { ID | LABEL | PATH | UUID | ... } ] [ -o JSON ] .B [ [ -H ] -g .I group_name .B ] [ -p [ @@ -20,7 +20,7 @@ statistics for devices and partitions. .\} .el \{ .B iostat [ -c ] [ -d ] [ -h ] [ -k | -m ] [ -N ] [ -t ] [ -V ] [ -x ] [ -y ] [ -z ] -.B [ -j { ID | LABEL | PATH | UUID | ... } ] +.B [ -j { ID | LABEL | PATH | UUID | ... } ] [ -o JSON ] .B [ [ -H ] -g .I group_name .B ] [ -p [ @@ -312,6 +312,10 @@ Display statistics in megabytes per second. .IP -N Display the registered device mapper names for any device mapper devices. Useful for viewing LVM2 statistics. +.IP "-o JSON" +Display the statistics in JSON (Javascript Object Notation) format. +JSON output field order is undefined, and new fields may be added +in the future. .IP "-p [ { device [,...] | ALL } ]" The -p option displays statistics for block devices and all their partitions that are used by the system. -- 2.40.0