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.
76 Instead of printing statistics and immediately exiting,
78 takes a snapshot of the current statistics and pauses until it receives
82 at which point it takes another snapshot and displays the difference
86 .B nfsstat \-o all \-234
87 Show all information about all versions of \fBNFS\fR.
89 .B nfsstat \-\-verbose \-234
93 Show all information about active versions of \fBNFS\fR.
95 .B nfsstat \-\-nfs \-\-server \-3
96 Show statistics for \fBNFS\fR version 3 server.
99 Show information about mounted \fBNFS\fR filesystems.
100 .\" --------------------- DISPLAY --------------------------------
102 The \fBFlags\fR output from the \fB\-m\fR option is the same as the
103 flags give to the \fBmount\fR command.
104 .\" --------------------- FILES ----------------------------------
107 .B /proc/net/rpc/nfsd
109 interface to kernel NFS server statistics.
113 interface to kernel NFS client statistics.
117 interface to the mounted filesystems.
118 .\" -------------------- SEE ALSO --------------------------------
122 .\" ---------------------- BUGS ----------------------------------
124 The default output has been changed. To get the old default output you must run \fBnfsstat \-\-auto \-2\fR.
126 The function of the \fB\-v\fR and \fB\-a\fR options have changed. The \fB\-a\fR option
127 is now reserved for future use. The \fB\-v\fR does what the \fB\-a\fR option used to do,
128 and the new \fB\-[234]\fR options replace the \fB\-v\fR option.
130 The \fBDisplay\fR section should be more complete.
132 Further bugs can be found or reported at
133 .BR http://nfs.sf.net/ .
134 .\" -------------------- AUTHOR ----------------------------------
136 Olaf Kirch, <okir@suse.de>