# man > mountstats(8)

[mountstats(8)](https://www.chedong.com/phpMan.php/man/mountstats/8/markdown)                          System Manager's Manual                         [mountstats(8)](https://www.chedong.com/phpMan.php/man/mountstats/8/markdown)



## NAME
       mountstats - Displays various NFS client per-mount statistics

## SYNOPSIS
       **mountstats**  [**-h**|**--help**] [**-v**|**--version**] [**-f**|**--file** _infile_] [**-S**|**--since** _sincefile_] [ [**-n**|**--nfs**]
       | [**-r**|**--rpc**] | [**-R**|**--raw**] | [**-x**|**--xprt**] ] [_mountpoint_]_..._

       **mountstats** **iostat** [**-h**|**--help**] [**-v**|**--version**] [**-f**|**--file** _infile_] [**-S**|**--since**  _sincefile_]  [_in__‐
       _terval_] [_count_] [_mountpoint_]_..._

       **mountstats**  **nfsstat** [**-h**|**--help**] [**-v**|**--version**] [**-f**|**--file** _infile_] [**-S**|**--since** _sincefile_] [**-3**]
       [**-4**] [_mountpoint_]_..._

## 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)](https://www.chedong.com/phpMan.php/man/mountstats/8/markdown) 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.

## OPTIONS
### Options valid for all sub-commands
### -h, --help
              show the help message and exit

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

### -f --file
              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 dis‐
              play the delta between two different points in time.  This may not be  used  with  the
              _interval_ or _count_ options of the **iostat** sub-command.

### -S --since
              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.

### Options specific to the mountstats sub-command
### -n, --nfs

### -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

### Options specific to the iostat sub-command
       _interval_
              Specifies  the  amount  of time in seconds between each report.  The first report con‐
              tains statistics for the time since each file system was mounted.  Each subsequent re‐
              port  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 con‐
              tinuously.  This may not be used with the **-f**|**--file** or **-S**|**--since** options.

### Options specific to the nfsstat sub-command
### -3
              4 statistics.

### -4
              4 statistics.

## FILES
### /proc/self/mountstats

## SEE ALSO
       [**iostat**(8)](https://www.chedong.com/phpMan.php/man/iostat/8/markdown), [**nfsiostat**(8)](https://www.chedong.com/phpMan.php/man/nfsiostat/8/markdown), [**nfsstat**(8)](https://www.chedong.com/phpMan.php/man/nfsstat/8/markdown)

## AUTHOR
       Chuck Lever <<chuck.lever@oracle.com>>



                                             12 Dec 2014                               [mountstats(8)](https://www.chedong.com/phpMan.php/man/mountstats/8/markdown)
