Signed-off-by: Scott Mayhew <smayhew@xxxxxxxxxx> --- tools/mountstats/ms-nfsstat.man | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 tools/mountstats/ms-nfsstat.man diff --git a/tools/mountstats/ms-nfsstat.man b/tools/mountstats/ms-nfsstat.man new file mode 100644 index 0000000..b1d62ed --- /dev/null +++ b/tools/mountstats/ms-nfsstat.man @@ -0,0 +1,44 @@ +.\" +.\" ms-nfsstat(8) +.\" +.TH ms-nfsstat 8 "25 Nov 2014" +.SH NAME +ms-nfsstat \- nfsstat-like program that uses NFS client per-mount statistics +.SH SYNOPSIS +\fBms-nfsstat [\fIOPTION\fB]\fR... \fB[\fImountpoint\fB]\fR... +.SH DESCRIPTION +.RB "The " ms-nfsstat " command is an nfsstat-like program to display NFS client statistics generated from" +.IR /proc/self/mountstats " instead of from " /proc/net/rpc/nfs "." +.P +.RI "If one or more " mountpoint +names are specified, statistics for only these mount points will be displayed. Otherwise, statistics for all NFS mount points on the client are listed. +.SH OPTIONS +.TP +.B \-h, \-\-help +show the help message and exit +.TP +.B \-v, \-\-version +show program's version number and exit +.TP +\fB\-f \fIINFILE\fR, \fB\-\-file \fIINFILE +.RI "Read stats from " INFILE " instead of " /proc/self/mountstats ". " +.TP +\fB\-S \fISINCE\fR, \fB\-\-since \fISINCE +.RI "Show difference between current stats and those in " SINCE "." +.TP +.B -3 +Show only NFS version 3 statistics. The default is to show both version 3 and version 4 statistics. +.TP +.B -4 +Show only NFS version 4 statistics. The default is to show both version 3 and version 4 statistics. +.SH FILES +.TP +.B /proc/self/mountstats +.SH SEE ALSO +.BR iostat (8), +.BR nfsiostat (8), +.BR nfsstat (8), +.BR mountstats (8), +.BR ms-iostat (8) +.SH AUTHOR +Chuck Lever <chuck.lever@xxxxxxxxxx> -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html