commit b1e64b99a97b27d850d7a615b291aa9aeb2972ab Author: Steve Dickson Date: Fri Oct 26 07:57:10 2007 -0400 Added -S/--since to the nfsstat(1) manpage Author: David Richter Signed-off-by: Steve Dickson diff -up nfs-utils-1.1.1/utils/nfsstat/nfsstat.man.orig nfs-utils-1.1.1/utils/nfsstat/nfsstat.man --- nfs-utils-1.1.1/utils/nfsstat/nfsstat.man.orig 2007-10-18 23:07:28.000000000 -0400 +++ nfs-utils-1.1.1/utils/nfsstat/nfsstat.man 2008-01-22 12:57:08.000000000 -0500 @@ -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 statisti .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