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

NAME

6       mountstats - Displays various NFS client per-mount statistics
7

SYNOPSIS

9       mountstats  [-h|--help]  [-v|--version]  [-f|--file infile] [-S|--since
10       sincefile] [ [-n|--nfs] | [-r|--rpc] | [-R|--raw] ] [mountpoint]...
11
12       mountstats  iostat  [-h|--help]   [-v|--version]   [-f|--file   infile]
13       [-S|--since sincefile] [interval] [count] [mountpoint]...
14
15       mounstats   nfsstat   [-h|--help]   [-v|--version]  [-f|--file  infile]
16       [-S|--since sincefile] [-3] [-4] [mountpoint]...
17

DESCRIPTION

19       The mountstats command displays various NFS client statisitics for each
20       given mountpoint.
21
22       If  no  mountpoint  is  given, statistics will be displayed for all NFS
23       mountpoints on the client.
24
25   Sub-commands
26       Valid mountstats(8) subcommands are:
27
28       mountstats
29              Display a  combination  of  per-op  RPC  statistics,  NFS  event
30              counts,  and  NFS  byte counts.  This is the default sub-command
31              that will be executed if no sub-command is given.
32
33       iostat Display iostat-like statistics.
34
35       nfsstat
36              Display nfsstat-like statistics.
37

OPTIONS

39   Options valid for all sub-commands
40       -h, --help
41              show the help message and exit
42
43       -v, --version
44              show program's version number and exit
45
46       -f infile, --file infile
47              Read stats from infile instead of /proc/self/mountstats.  infile
48              must  be  in the same format as /proc/self/mountstats.  This may
49              be used with the -S|--since options to display the delta between
50              two  different  points  in  time.  This may not be used with the
51              interval or count options of the iostat sub-command.
52
53       -S sincefile, --since sincefile
54              Show difference between current stats and  those  in  sincefile.
55              sincefile  must  be in the same format as /proc/self/mountstats.
56              This may be used with the -f|--file options to display the delta
57              between two different points in time.  This may not be used with
58              the interval or count options of the iostat sub-command.
59
60   Options specific to the mountstats sub-command
61       -n, --nfs Display only the NFS statistics
62
63       -r, --rpc
64              Display only the RPC statistics
65
66       -R, --raw
67              Display only the raw statistics.  This is intended for use  with
68              the -f|--file and -S|--since options.
69
70   Options specific to the iostat sub-command
71       interval
72              Specifies  the  amount  of  time in seconds between each report.
73              The first report contains statistics for  the  time  since  each
74              file  system  was mounted.  Each subsequent report contains sta‐
75              tistics collected during the interval since the previous report.
76              This may not be used with the -f|--file or -S|--since options.
77
78       count  Determines  the  number of reports generated at interval seconds
79              apart.  If the interval parameter is specified without the count
80              parameter, the command generates reports continuously.  This may
81              not be used with the -f|--file or -S|--since options.
82
83   Options specific to the nfsstat sub-command
84       -3     Show only NFS version 3 statistics.  The default is to show both
85              version 3 and version 4 statistics.
86
87       -4     Show only NFS version 4 statistics.  The default is to show both
88              version 3 and version 4 statistics.
89

FILES

91       /proc/self/mountstats
92

SEE ALSO

94       iostat(8), nfsiostat(8), nfsstat(8)
95

AUTHOR

97       Chuck Lever <chuck.lever@oracle.com>
98
99
100
101                                  12 Dec 2014                    mountstats(8)
Impressum