logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mountstats - Displays various NFS client per-mount statistics

Author

       Chuck Lever <chuck.lever@oracle.com>

                                                   12 Dec 2014                                     mountstats(8)

Description

       The mountstats command displays various NFS client statisitics for each given mountpoint.

       If no mountpoint is given, statistics will be displayed for all NFS mountpoints on the client.

   Sub-commands
       Valid mountstats(8) subcommands are:

       mountstats
              Display a combination of per-op RPC statistics, NFS event counts, and NFS byte  counts.   This  is
              the default sub-command that will be executed if no sub-command is given.

       iostat Display iostat-like statistics.

       nfsstat
              Display nfsstat-like statistics.

Files

/proc/self/mountstats

Name

       mountstats - Displays various NFS client per-mount statistics

Options

Optionsvalidforallsub-commands-h,--help
              show the help message and exit

       -v,--version
              show program's version number and exit

       -finfile, --fileinfile
              Read  stats  from  infile  instead of /proc/self/mountstats.  infile must be in the same format as
              /proc/self/mountstats.  This may be used with the -S|--since options to display the delta  between
              two  different  points  in  time.   This may not be used with the interval or count options of the
              iostat sub-command.

       -Ssincefile, --sincesincefile
              Show difference between current stats and those in sincefile.   sincefile  must  be  in  the  same
              format as /proc/self/mountstats.  This may be used with the -f|--file options to display the delta
              between  two different points in time.  This may not be used with the interval or count options of
              the iostat sub-command.

   Optionsspecifictothemountstatssub-command-n,--nfs Display only the NFS statistics

       -r,--rpc
              Display only the RPC statistics

       -R,--raw
              Display only the raw statistics.  This is intended for  use  with  the  -f|--file  and  -S|--since
              options.

       -x,--xprt
              Display only the transport statistics

   Optionsspecifictotheiostatsub-commandinterval
              Specifies the amount of time in seconds between each report.  The first report contains statistics
              for  the  time  since  each  file  system was mounted.  Each subsequent report contains statistics
              collected during the interval since the previous report.  This may not be used with the  -f|--file
              or -S|--since options.

       count  Determines  the  number of reports generated at interval seconds apart.  If the interval parameter
              is specified without the count parameter, the command generates reports  continuously.   This  may
              not be used with the -f|--file or -S|--since options.

   Optionsspecifictothenfsstatsub-command-3     Show  only  NFS  version  3  statistics.   The  default  is  to  show both version 3 and version 4
              statistics.

       -4     Show only NFS version 4 statistics.  The  default  is  to  show  both  version  3  and  version  4
              statistics.

See Also

iostat(8), nfsiostat(8), nfsstat(8)

Synopsis

mountstats [-h|--help] [-v|--version] [-f|--fileinfile] [-S|--sincesincefile] [ [-n|--nfs] | [-r|--rpc]
       | [-R|--raw] | [-x|--xprt] ] [mountpoint]...mountstatsiostat [-h|--help] [-v|--version] [-f|--fileinfile] [-S|--sincesincefile] [interval] [count]
       [mountpoint]...mountstatsnfsstat  [-h|--help]  [-v|--version]  [-f|--fileinfile]  [-S|--sincesincefile]  [-3] [-4]
       [mountpoint]...

See Also