]> git.decadent.org.uk Git - nfs-utils.git/blob - utils/nfsstat/nfsstat.man
Initial revision
[nfs-utils.git] / utils / nfsstat / nfsstat.man
1 .\"
2 .\" nfsstat(8)
3 .\" 
4 .\" Copyright (C) 1996 Olaf Kirch <okir@monad.swb.de>
5 .TH nfsstat 8 "8 May 1996"
6 .SH NAME
7 nfsstat \- print NFS statistics
8 .SH SYNOPSIS
9 .BI "/usr/sbin/nfsstat [-anrcsz] [-o " "facility" "] ...
10 .SH DESCRIPTION
11 The
12 .B nfsstat
13 command retrieves and pretty-prints NFS kernel statistics. Currently, only
14 server-side statistics are supported, because the NFS client does not yet
15 collect any data.
16 .SH OPTIONS
17 .TP
18 .B -s
19 Print only server-side statistics. The default is to print both server and
20 client statistics.
21 .TP
22 .B -c
23 Print only client-side statistics.
24 .TP
25 .B -n
26 Print only NFS statistics. The default is to print both NFS and RPC
27 information.
28 .TP
29 .B -r
30 Print only RPC statistics.
31 .TP
32 .B -z
33 Zero the kernel statistics counters.
34 This option is not currently supported.
35 .TP
36 .BI -o " facility
37 Display statistics for the specified facility, which must be one of:
38 .RS
39 .TP
40 .B nfs
41 NFS protocol information, split up by RPC call.
42 .TP
43 .B rpc
44 General RPC information.
45 .TP
46 .B net
47 Network layer statistics, such as the number of received packets, number
48 of TCP connections, etc.
49 .TP
50 .B fh
51 Usage information on the server's file handle cache, including the
52 total number of lookups, and the number of hits and misses.
53 .TP
54 .B rc
55 Usage information on the server's request reply cache, including the
56 total number of lookups, and the number of hits and misses.
57 .RE
58 .SH EXAMPLES
59 .\" --------------------- FILES ----------------------------------
60 .SH FILES
61 .TP
62 .B /proc/net/rpc/nfsd
63 .BR procfs -based
64 interface to kernel NFS server statistics.
65 .TP
66 .B /proc/net/rpc/nfs
67 .BR procfs -based
68 interface to kernel NFS client statistics.
69 .\" -------------------- SEE ALSO --------------------------------
70 .SH SEE ALSO
71 .BR rpc.nfsd (8).
72 .\" -------------------- AUTHOR ----------------------------------
73 .SH AUTHOR
74 Olaf Kirch, <okir@monad.swb.de>