summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavid m. richter <richterd@citi.umich.edu>2007-08-07 19:53:48 -0400
committerNeil Brown <neilb@suse.de>2007-08-09 11:08:28 +1000
commitd235c98d94c70b175c195d00cebbc190f61a6380 (patch)
treecd4a868cbbfcfcac4c9b04e012fe913fed18a721
parent001844d64a40a9f5fd00cf827b909a6a25f8e4a9 (diff)
downloadnfs-utils-d235c98d94c70b175c195d00cebbc190f61a6380.tar.gz
nfs-utils-d235c98d94c70b175c195d00cebbc190f61a6380.tar.xz
nfs-utils-d235c98d94c70b175c195d00cebbc190f61a6380.zip
nfsstat: include -Z/--sleep in the manpage
Add a little blurb about -Z/--sleep to the nfsstat manpage. Signed-off-by: David M. Richter <richterd@citi.umich.edu> Signed-off-by: Neil Brown <neilb@suse.de>
-rw-r--r--utils/nfsstat/nfsstat.man12
1 files changed, 11 insertions, 1 deletions
diff --git a/utils/nfsstat/nfsstat.man b/utils/nfsstat/nfsstat.man
index 895c36b..5d2acc5 100644
--- a/utils/nfsstat/nfsstat.man
+++ b/utils/nfsstat/nfsstat.man
@@ -2,7 +2,7 @@
.\" nfsstat(8)
.\"
.\" Copyright (C) 1996-2005 Olaf Kirch <okir@suse.de>
-.TH nfsstat 8 "11 Apr 2005"
+.TH nfsstat 8 "7 Aug 2007"
.SH NAME
nfsstat \- list NFS statistics
.SH SYNOPSIS
@@ -71,6 +71,16 @@ Display all of the above facilities.
.TP
.B \-v, \-\-verbose
This is equivalent to \fB\-o all\fR.
+.TP
+.B \-Z, \-\-sleep
+Instead of printing statistics and immediately exiting,
+.B nfsstat
+takes a snapshot of the current statistics and pauses until it receives
+.B SIGINT
+(typically from
+.BR Ctrl-C ),
+at which point it takes another snapshot and displays the difference
+between the two.
.SH EXAMPLES
.TP
.B nfsstat \-o all \-234