diff options
author | Steve Dickson <steved@redhat.com> | 2007-10-26 07:57:10 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2007-10-26 07:57:10 -0400 |
commit | b1e64b99a97b27d850d7a615b291aa9aeb2972ab (patch) | |
tree | b21dd96b6719b17b3df6168468aa5e39df353150 | |
parent | c77004106e2349f2b3c62fb81d893a8b92899e3e (diff) | |
download | nfs-utils-b1e64b99a97b27d850d7a615b291aa9aeb2972ab.tar.gz nfs-utils-b1e64b99a97b27d850d7a615b291aa9aeb2972ab.tar.xz nfs-utils-b1e64b99a97b27d850d7a615b291aa9aeb2972ab.zip |
Added -S/--since to the nfsstat(1) manpage
Author: David Richter <richterd@citi.umich.edu>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | utils/nfsstat/nfsstat.man | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/utils/nfsstat/nfsstat.man b/utils/nfsstat/nfsstat.man index 5d2acc5..2c39191 100644 --- a/utils/nfsstat/nfsstat.man +++ b/utils/nfsstat/nfsstat.man @@ -72,8 +72,27 @@ Display all of the above facilities. .B \-v, \-\-verbose This is equivalent to \fB\-o all\fR. .TP +.BI "\-S, \-\-since " file +Instead of printing current statistics, +.B nfsstat +imports statistics from +.I file +and displays the difference between those and the current statistics. +Valid input +.IR file "s may be in the form of " +.B /proc/net/rpc/nfs +(raw client stats), +.B /proc/net/rpc/nfsd +(raw server stats), or saved output from +.B nfsstat +itself (client and/or server stats). Any statistics missing from a saved +.B nfsstat +output +.I file +are treated as zeroes. +.TP .B \-Z, \-\-sleep -Instead of printing statistics and immediately exiting, +Instead of printing current statistics and immediately exiting, .B nfsstat takes a snapshot of the current statistics and pauses until it receives .B SIGINT @@ -81,6 +100,7 @@ takes a snapshot of the current statistics and pauses until it receives .BR Ctrl-C ), at which point it takes another snapshot and displays the difference between the two. +.\" --------------------- EXAMPLES ------------------------------- .SH EXAMPLES .TP .B nfsstat \-o all \-234 |