4 .\" Copyright (C) 1996-2005 Olaf Kirch <okir@suse.de>
5 .TH nfsstat 8 "7 Aug 2007"
7 nfsstat \- list NFS statistics
14 displays statistics kept about NFS client and server activity.
18 Print only server-side statistics. The default is to print both server and
22 Print only client-side statistics.
25 Print only NFS statistics. The default is to print both NFS and RPC
29 Print only NFS v2 statistics. The default is to only print information
30 about the versions of \fBNFS\fR that have non-zero counts.
33 Print only NFS v3 statistics.
36 Print only NFS v4 statistics.
39 Print information about each of the mounted \fBNFS\fR file systems.
41 If this option is used, all other options are ignored.
44 Print only RPC statistics.
47 Display statistics for the specified facility, which must be one of:
51 NFS protocol information, split up by RPC call.
54 General RPC information.
57 Network layer statistics, such as the number of received packets, number
58 of TCP connections, etc.
61 Usage information on the server's file handle cache, including the
62 total number of lookups, and the number of hits and misses.
65 Usage information on the server's request reply cache, including the
66 total number of lookups, and the number of hits and misses.
69 Display all of the above facilities.
73 This is equivalent to \fB\-o all\fR.
75 .BI "\-S, \-\-since " file
76 Instead of printing current statistics,
78 imports statistics from
80 and displays the difference between those and the current statistics.
82 .IR file "s may be in the form of "
86 (raw server stats), or saved output from
88 itself (client and/or server stats). Any statistics missing from a saved
92 are treated as zeroes.
95 Instead of printing current statistics and immediately exiting,
97 takes a snapshot of the current statistics and pauses until it receives
101 at which point it takes another snapshot and displays the difference
103 .\" --------------------- EXAMPLES -------------------------------
106 .B nfsstat \-o all \-234
107 Show all information about all versions of \fBNFS\fR.
109 .B nfsstat \-\-verbose \-234
113 Show all information about active versions of \fBNFS\fR.
115 .B nfsstat \-\-nfs \-\-server \-3
116 Show statistics for \fBNFS\fR version 3 server.
119 Show information about mounted \fBNFS\fR filesystems.
120 .\" --------------------- DISPLAY --------------------------------
122 The \fBFlags\fR output from the \fB\-m\fR option is the same as the
123 flags give to the \fBmount\fR command.
124 .\" --------------------- FILES ----------------------------------
127 .B /proc/net/rpc/nfsd
129 interface to kernel NFS server statistics.
133 interface to kernel NFS client statistics.
137 interface to the mounted filesystems.
138 .\" -------------------- SEE ALSO --------------------------------
142 .\" ---------------------- BUGS ----------------------------------
144 The default output has been changed. To get the old default output you must run \fBnfsstat \-\-auto \-2\fR.
146 The function of the \fB\-v\fR and \fB\-a\fR options have changed. The \fB\-a\fR option
147 is now reserved for future use. The \fB\-v\fR does what the \fB\-a\fR option used to do,
148 and the new \fB\-[234]\fR options replace the \fB\-v\fR option.
150 The \fBDisplay\fR section should be more complete.
152 Further bugs can be found or reported at
153 .BR http://nfs.sf.net/ .
154 .\" -------------------- AUTHOR ----------------------------------
156 Olaf Kirch, <okir@suse.de>