From: Phil Sutter <phil@nwl.cc>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: netdev@vger.kernel.org
Subject: [iproute PATCH 08/10] man: rtacct.8: Fix nstat options
Date: Thu, 16 Aug 2018 12:28:00 +0200 [thread overview]
Message-ID: <20180816102802.31782-9-phil@nwl.cc> (raw)
In-Reply-To: <20180816102802.31782-1-phil@nwl.cc>
Add missing --pretty and --json options, correct --zero to --zeros and
correct the mess around --scan/--interval including broken man page
formatting.
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
man/man8/rtacct.8 | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/man/man8/rtacct.8 b/man/man8/rtacct.8
index 01321e6dbdd60..ccdbf6ca75e57 100644
--- a/man/man8/rtacct.8
+++ b/man/man8/rtacct.8
@@ -4,7 +4,7 @@
nstat, rtacct - network statistics tools.
.SH SYNOPSIS
-Usage: nstat [ -h?vVzrnasd:t: ] [ PATTERN [ PATTERN ] ]
+Usage: nstat [ -h?vVzrnasd:t:jp ] [ PATTERN [ PATTERN ] ]
.br
Usage: rtacct [ -h?vVzrnasd:t: ] [ ListOfRealms ]
@@ -21,7 +21,7 @@ Print help
.B \-V, \-\-version
Print version
.TP
-.B \-z, \-\-zero
+.B \-z, \-\-zeros
Dump zero counters too. By default they are not shown.
.TP
.B \-r, \-\-reset
@@ -39,12 +39,16 @@ Do not update history, so that the next time you will see counters including val
.B \-j, \-\-json
Display results in JSON format.
.TP
-.B \-d, \-\-interval <INTERVAL>
+.B \-p, \-\-pretty
+When combined with
+.BR \-\-json ,
+pretty print the output.
+.TP
+.B \-d, \-\-scan <INTERVAL>
Run in daemon mode collecting statistics. <INTERVAL> is interval between measurements in seconds.
.TP
-
+.B \-t, \-\-interval <INTERVAL>
Time interval to average rates. Default value is 60 seconds.
-.TP
.SH SEE ALSO
lnstat(8)
--
2.18.0
next prev parent reply other threads:[~2018-08-16 13:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-16 10:27 [iproute PATCH 00/10] Review help texts and man pages Phil Sutter
2018-08-16 10:27 ` [iproute PATCH 01/10] man: bridge.8: Document -oneline option Phil Sutter
2018-08-16 10:27 ` [iproute PATCH 02/10] bridge: trivial: Make help text consistent Phil Sutter
2018-08-16 10:27 ` [iproute PATCH 03/10] devlink: " Phil Sutter
2018-08-16 10:27 ` [iproute PATCH 04/10] man: devlink.8: Document -verbose option Phil Sutter
2018-08-16 10:27 ` [iproute PATCH 05/10] genl: Fix help text Phil Sutter
2018-08-16 10:27 ` [iproute PATCH 06/10] man: ifstat.8: Document --json and --pretty options Phil Sutter
2018-08-16 10:27 ` [iproute PATCH 07/10] ip: Add missing -M flag to help text Phil Sutter
2018-08-17 11:22 ` Phil Sutter
2018-08-16 10:28 ` Phil Sutter [this message]
2018-08-16 10:28 ` [iproute PATCH 09/10] rtmon: List options in " Phil Sutter
2018-08-16 10:28 ` [iproute PATCH 10/10] man: ss.8: Describe --events option Phil Sutter
2018-08-16 17:29 ` [iproute PATCH 00/10] Review help texts and man pages Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180816102802.31782-9-phil@nwl.cc \
--to=phil@nwl.cc \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).