1nfsstat(8)                  System Manager's Manual                 nfsstat(8)
2
3
4

NAME

6       nfsstat - list NFS statistics
7

SYNOPSIS

9       nfsstat [OPTION]...
10

DESCRIPTION

12       The nfsstat displays statistics kept about NFS client and server activ‐
13       ity.
14

OPTIONS

16       -s, --server
17              Print only server-side statistics. The default is to print  both
18              server and client statistics.
19
20       -c, --client
21              Print only client-side statistics.
22
23       -n, --nfs
24              Print  only NFS statistics. The default is to print both NFS and
25              RPC information.
26
27       -2     Print only NFS v2 statistics.  The  default  is  to  only  print
28              information about the versions of NFS that have non-zero counts.
29
30       -3     Print only NFS v3 statistics.
31
32       -4     Print only NFS v4 statistics.
33
34       -m, --mounted
35              Print information about each of the mounted NFS file systems.
36
37              If this option is used, all other options are ignored.
38
39       -r, --rpc
40              Print only RPC statistics.
41
42       -o facility
43              Display statistics for the specified facility, which must be one
44              of:
45
46              nfs    NFS protocol information, split up by RPC call.
47
48              rpc    General RPC information.
49
50              net    Network layer statistics, such as the number of  received
51                     packets, number of TCP connections, etc.
52
53              fh     Usage  information  on  the  server's  file handle cache,
54                     including the total number of lookups, and the number  of
55                     hits and misses.
56
57              rc     Usage  information  on  the server's request reply cache,
58                     including the total number of lookups, and the number  of
59                     hits and misses.
60
61              all    Display all of the above facilities.
62
63       -v, --verbose
64              This is equivalent to -o all.
65

EXAMPLES

67       nfsstat -o all -234
68              Show all information about all versions of NFS.
69
70       nfsstat --verbose -234
71              Same as above.
72
73       nfsstat -o all
74              Show all information about active versions of NFS.
75
76       nfsstat --nfs --server -3
77              Show statistics for NFS version 3 server.
78
79       nfsstat -m
80              Show information about mounted NFS filesystems.
81

DISPLAY

83       The  Flags  output  from the -m option is the same as the flags give to
84       the mount command.
85

FILES

87       /proc/net/rpc/nfsd
88              procfs-based interface to kernel NFS server statistics.
89
90       /proc/net/rpc/nfs
91              procfs-based interface to kernel NFS client statistics.
92
93       /proc/mounts
94              procfs-based interface to the mounted filesystems.
95

SEE ALSO

97       rpc.nfsd(8).  nfs(5).
98

BUGS

100       The default output has been changed.  To get the old default output you
101       must run nfsstat --auto -2.
102
103       The  function  of  the -v and -a options have changed. The -a option is
104       now reserved for future use. The -v does what the -a option used to do,
105       and the new -[234] options replace the -v option.
106
107       The Display section should be more complete.
108
109       Further bugs can be found or reported at http://nfs.sf.net/.
110

AUTHOR

112       Olaf Kirch, <okir@suse.de>
113
114
115
116                                  11 Apr 2005                       nfsstat(8)
Impressum