X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fnfsstat%2Fnfsstat.man;h=2c39191b0f54968abe25ee830f1e1927f9c15181;hb=ec637de16210c1c6fcb3a0df34d7889592f577dc;hp=ed7f69c53d71ca0ee90ea04db4fb5feca21bb82c;hpb=fde446dcc8f2e96c13b71a1226fcc944f53485da;p=nfs-utils.git diff --git a/utils/nfsstat/nfsstat.man b/utils/nfsstat/nfsstat.man index ed7f69c..2c39191 100644 --- a/utils/nfsstat/nfsstat.man +++ b/utils/nfsstat/nfsstat.man @@ -2,7 +2,7 @@ .\" nfsstat(8) .\" .\" Copyright (C) 1996-2005 Olaf Kirch -.TH nfsstat 8 "11 Apr 2005" +.TH nfsstat 8 "7 Aug 2007" .SH NAME nfsstat \- list NFS statistics .SH SYNOPSIS @@ -71,6 +71,36 @@ Display all of the above facilities. .TP .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 current 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. +.\" --------------------- EXAMPLES ------------------------------- .SH EXAMPLES .TP .B nfsstat \-o all \-234 @@ -113,9 +143,9 @@ interface to the mounted filesystems. .SH BUGS The default output has been changed. To get the old default output you must run \fBnfsstat \-\-auto \-2\fR. .P -The function of the \fB-v\fR and \fB-a\fR options have changed. The \fB-a\fR option -is now reserved for future use. The \fB-v\fR does what the \fB-a\fR option used to do, -and the new \fB-[234]\fR options replace the \fB-v\fR option. +The function of the \fB\-v\fR and \fB\-a\fR options have changed. The \fB\-a\fR option +is now reserved for future use. The \fB\-v\fR does what the \fB\-a\fR option used to do, +and the new \fB\-[234]\fR options replace the \fB\-v\fR option. .P The \fBDisplay\fR section should be more complete. .P