CIFSIOSTATSection: Linux User's Manual (1)
Updated: MAY 2017
Index | Return to Main Contents
NAMEcifsiostat - Report CIFS statistics.
SYNOPSIScifsiostat [ -h ] [ -k | -m ] [ -t ] [ -V ] [ --human ] [ interval [ count ] ]
DESCRIPTIONThe cifsiostat command displays statistics about read and write operations on CIFS filesystems.
The interval parameter specifies the amount of time in seconds between each report. The first report contains statistics for the time since system startup (boot). Each subsequent report contains statistics collected during the interval since the previous report. A report consists of a CIFS header row followed by a line of statistics for each CIFS filesystem that is mounted. The count parameter can be specified in conjunction with the interval parameter. If the count parameter is specified, the value of count determines the number of reports generated at interval seconds apart. If the interval parameter is specified without the count parameter, the cifsiostat command generates reports continuously.
REPORTThe CIFS report provides statistics for each mounted CIFS filesystem. The report shows the following fields:
This columns shows the mount point of the CIFS filesystem.
Indicate the average number of bytes (kilobytes, megabytes) read per second.
Indicate the average number of bytes (kilobytes, megabytes) written per second.
Indicate the number of 'read' operations that were issued to the filesystem
Indicate the number of 'write' operations that were issued to the filesystem
Indicate the number of open files per second.
Indicate the number of closed files per second.
- Indicate the number of deleted files per second.
- Make the CIFS report easier to read by a human. --human is enabled implicitly with this option.
- Print sizes in human readable format (e.g. 1k, 1.23M, etc.) The units displayed with this option supersede any other default units (e.g. kilobytes, sectors...) associated with the metrics.
- Display statistics in kilobytes per second.
- Display statistics in megabytes per second.
- Print the time for each report displayed. The timestamp format may depend on the value of the S_TIME_FORMAT environment variable (see below).
Print version number then exit.
ENVIRONMENTThe cifsiostat command takes into account the following environment variables:
When this variable is set, display statistics in color on the terminal.
Possible values for this variable are
(the latter is the default).
Please note that the color (being red, yellow, or some other color) used to display a value is not indicative of any kind of issue simply because of the color. It only indicates different ranges of values.
Specify the colors and other attributes used to display statistics on the terminal.
Its value is a colon-separated list of capabilities that defaults to
Supported capabilities are:
SGR substring for filesystem names.
SGR substring for non-zero statistics values.
- SGR substring for zero values.
If this variable exists and its value is
then the current locale will be ignored when printing the date in the report
command will use the ISO 8601 format (YYYY-MM-DD) instead.
The timestamp displayed with option -t will also be compliant with ISO 8601
BUG/proc filesystem must be mounted for cifsiostat to work.
FILE/proc/fs/cifs/Stats contains CIFS statistics.
AUTHORSWritten by Ivana Varekova (varekova <at> redhat.com)
SEE ALSOsar(1), pidstat(1), mpstat(1), vmstat(8), iostat(1), tapestat(1), nfsiostat(1)
Return to Main Contents