X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fnfsstat%2Fnfsstat.man;h=52215a9293a5ff90915517a715e381230be9aa91;hp=5d2acc502f7d4a8a4e806a7571228db6b35a40be;hb=fa5352f78533c7ad1d8603c1a4ba08fa82768e6b;hpb=d235c98d94c70b175c195d00cebbc190f61a6380 diff --git a/utils/nfsstat/nfsstat.man b/utils/nfsstat/nfsstat.man index 5d2acc5..52215a9 100644 --- a/utils/nfsstat/nfsstat.man +++ b/utils/nfsstat/nfsstat.man @@ -35,7 +35,7 @@ Print only NFS v3 statistics. .B \-4 Print only NFS v4 statistics. .TP -.B \-m, \-\-mounted +.B \-m, \-\-mounts Print information about each of the mounted \fBNFS\fR file systems. If this option is used, all other options are ignored. @@ -72,8 +72,30 @@ Display all of the above facilities. .B \-v, \-\-verbose This is equivalent to \fB\-o all\fR. .TP -.B \-Z, \-\-sleep -Instead of printing statistics and immediately exiting, +.B \-l, \-\-list +Print information in list form. +.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[interval], \-\-sleep=[interval] +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 +103,11 @@ 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. +If \fIinterval\fR is specified, +.B nfsstat +will print the number of \fBNFS\fR calls made since the previous report. +Stats will be printed repeatedly every \fIinterval\fR seconds. +.\" --------------------- EXAMPLES ------------------------------- .SH EXAMPLES .TP .B nfsstat \-o all \-234