All of lore.kernel.org
 help / color / mirror / Atom feed
From: "G. Allen Morris III" <gam3-nfs@gam3.net>
To: nfs@lists.sourceforge.net
Subject: [PATCH] nfsstat.man
Date: Mon, 11 Apr 2005 10:55:44 -0400	[thread overview]
Message-ID: <20050411145544.GA23506@gam3.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 217 bytes --]

Could I have comments this patch.

I should have a patch for nfsstat to have it match the man file with in
the next day or so.

I have included the complete new man page as well as a patch against
CVS.

Allen Morris


[-- Attachment #2: nfsstat.man.patch --]
[-- Type: text/plain, Size: 3126 bytes --]

Index: nfsstat.man
===================================================================
RCS file: /cvsroot/nfs/nfs-utils/utils/nfsstat/nfsstat.man,v
retrieving revision 1.2
diff -u -r1.2 nfsstat.man
--- nfsstat.man	7 Oct 2001 06:24:35 -0000	1.2
+++ nfsstat.man	11 Apr 2005 14:52:40 -0000
@@ -1,30 +1,46 @@
 .\"
 .\" nfsstat(8)
 .\" 
-.\" Copyright (C) 1996 Olaf Kirch <okir@monad.swb.de>
-.TH nfsstat 8 "05 Oct 2001"
+.\" Copyright (C) 1996-2005 Olaf Kirch <okir@monad.swb.de>
+.TH nfsstat 8 "11 Apr 2005"
 .SH NAME
-nfsstat \- print NFS statistics
+nfsstat \- list NFS statistics
 .SH SYNOPSIS
-.BI "/usr/sbin/nfsstat [-anrcsz] [-o " "facility" "] ...
+.B nfsstat
+[\fIOPTION\fR]...
 .SH DESCRIPTION
 The
 .B nfsstat
 displays statistics kept about NFS client and server activity.
 .SH OPTIONS
 .TP
-.B -s
+.B -s, --server
 Print only server-side statistics. The default is to print both server and
 client statistics.
 .TP
-.B -c
+.B -c, --client
 Print only client-side statistics.
 .TP
-.B -n
+.B -n, --nfs
 Print only NFS statistics. The default is to print both NFS and RPC
 information.
 .TP
-.B -r
+.B -2
+Print only NFS v2 statistics. The default is to only print information
+about the versions of \fBNFS\fR that have non-zero counts.
+.TP
+.B -3
+Print only NFS v3 statistics. 
+.TP
+.B -4
+Print only NFS v4 statistics. 
+.TP
+.B -m, --mounted
+Print information about each of the mounted \fBNFS\fR file systems.
+
+If this option is used, all other options are ignored.
+.TP
+.B -r, --rpc
 Print only RPC statistics.
 .TP
 .BI -o " facility
@@ -48,8 +64,35 @@
 .B rc
 Usage information on the server's request reply cache, including the
 total number of lookups, and the number of hits and misses.
+.TP
+.B all
+Display all of the above facilities.
 .RE
+.TP
+.B -v, --verbose
+This is equivient to \fB-o all\fR.
 .SH EXAMPLES
+.TP
+.B nfsstat -o all -234
+Show all information about all versions of \fBNFS\fR.
+.TP
+.B nfsstat --verbose -234
+Same as above.
+.TP
+.B nfsstat -o all
+Show all information about about active versions of \fBNFS\fR.
+.TP
+.B nfsstat --nfs --server -3
+Show statictics for \fBNFS\fR version 3 server.
+.TP
+.B nfsstat -m
+Show information about mounted \fBNFS\fR filesystems.
+.\" --------------------- DISPLAY --------------------------------
+.SH DISPLAY
+.TP
+The \fBFlags\fR output from the \fB-m\fR option is the same as the
+flags give to the \fBmount\fR command.
+.TP
 .\" --------------------- FILES ----------------------------------
 .SH FILES
 .TP
@@ -60,9 +103,22 @@
 .B /proc/net/rpc/nfs
 .BR procfs -based
 interface to kernel NFS client statistics.
+.TP
+.B /proc/mounts
+.BR procfs -based
+interface to the mounted filesystems.
 .\" -------------------- SEE ALSO --------------------------------
 .SH SEE ALSO
 .BR rpc.nfsd (8).
+.BR nfs (5).
+.SH BUGS
+.TP
+The \fBDisplay\fR section should be more commplete.
+.TP
+The function of the \fB-v\fR and \fB-a\fR options have changed.
+.TP
+Further bugs can be found or reported at 
+.BR http://nfs.sf.net/ .
 .\" -------------------- AUTHOR ----------------------------------
 .SH AUTHOR
 Olaf Kirch, <okir@monad.swb.de>

[-- Attachment #3: nfsstat.man --]
[-- Type: application/x-troff-man, Size: 3105 bytes --]

             reply	other threads:[~2005-04-11 14:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-11 14:55 G. Allen Morris III [this message]
2005-04-11 17:55 ` [PATCH] nfsstat.man G. Allen Morris III

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050411145544.GA23506@gam3.net \
    --to=gam3-nfs@gam3.net \
    --cc=nfs@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.