1mountstats(8) System Manager's Manual mountstats(8)
2
3
4
6 mountstats - Displays various NFS client per-mount statistics
7
9 mountstats [-h|--help] [-v|--version] [-f|--file infile] [-S|--since
10 sincefile] [ [-n|--nfs] | [-r|--rpc] | [-R|--raw] | [-x|--xprt] ]
11 [mountpoint]...
12
13 mountstats iostat [-h|--help] [-v|--version] [-f|--file infile]
14 [-S|--since sincefile] [interval] [count] [mountpoint]...
15
16 mountstats nfsstat [-h|--help] [-v|--version] [-f|--file infile]
17 [-S|--since sincefile] [-3] [-4] [mountpoint]...
18
20 The mountstats command displays various NFS client statisitics for each
21 given mountpoint.
22
23 If no mountpoint is given, statistics will be displayed for all NFS
24 mountpoints on the client.
25
26 Sub-commands
27 Valid mountstats(8) subcommands are:
28
29 mountstats
30 Display a combination of per-op RPC statistics, NFS event
31 counts, and NFS byte counts. This is the default sub-command
32 that will be executed if no sub-command is given.
33
34 iostat Display iostat-like statistics.
35
36 nfsstat
37 Display nfsstat-like statistics.
38
40 Options valid for all sub-commands
41 -h, --help
42 show the help message and exit
43
44 -v, --version
45 show program's version number and exit
46
47 -f infile, --file infile
48 Read stats from infile instead of /proc/self/mountstats. infile
49 must be in the same format as /proc/self/mountstats. This may
50 be used with the -S|--since options to display the delta between
51 two different points in time. This may not be used with the
52 interval or count options of the iostat sub-command.
53
54 -S sincefile, --since sincefile
55 Show difference between current stats and those in sincefile.
56 sincefile must be in the same format as /proc/self/mountstats.
57 This may be used with the -f|--file options to display the delta
58 between two different points in time. This may not be used with
59 the interval or count options of the iostat sub-command.
60
61 Options specific to the mountstats sub-command
62 -n, --nfs Display only the NFS statistics
63
64 -r, --rpc
65 Display only the RPC statistics
66
67 -R, --raw
68 Display only the raw statistics. This is intended for use with
69 the -f|--file and -S|--since options.
70
71 -x, --xprt
72 Display only the transport statistics
73
74 Options specific to the iostat sub-command
75 interval
76 Specifies the amount of time in seconds between each report.
77 The first report contains statistics for the time since each
78 file system was mounted. Each subsequent report contains sta‐
79 tistics collected during the interval since the previous report.
80 This may not be used with the -f|--file or -S|--since options.
81
82 count Determines the number of reports generated at interval seconds
83 apart. If the interval parameter is specified without the count
84 parameter, the command generates reports continuously. This may
85 not be used with the -f|--file or -S|--since options.
86
87 Options specific to the nfsstat sub-command
88 -3 Show only NFS version 3 statistics. The default is to show both
89 version 3 and version 4 statistics.
90
91 -4 Show only NFS version 4 statistics. The default is to show both
92 version 3 and version 4 statistics.
93
95 /proc/self/mountstats
96
98 iostat(8), nfsiostat(8), nfsstat(8)
99
101 Chuck Lever <chuck.lever@oracle.com>
102
103
104
105 12 Dec 2014 mountstats(8)