cifsiostat â Report CIFS statistics.
| Use Case | Command | Description |
|---|---|---|
| đ Display CIFS stats continuously | cifsiostat | Shows statistics since boot, then updates every interval seconds. |
| âą Set update interval | cifsiostat 2 | Reports every 2 seconds. |
| đĸ Specify number of reports | cifsiostat 1 5 | Generates 5 reports at 1-second intervals. |
| đž Use kilobytes | cifsiostat -k | Display values in kilobytes per second. |
| đŋ Use megabytes | cifsiostat -m | Display values in megabytes per second. |
| đ Human-readable sizes | cifsiostat --human | Print sizes like 1.0k, 1.2M, etc. |
| đ¨ Pretty output | cifsiostat -h | Equivalent to --human --pretty |
| đ Timestamp each report | cifsiostat -t | Adds time to each report header. |
cifsiostat [ -h ] [ -k | -m ] [ -t ] [ -V ] [ --dec={ 0 | 1 | 2 } ] [ --human ] [ --pretty ]
[ interval [ count ] ]
The 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.
The CIFS report provides statistics for each mounted CIFS filesystem. The report shows the following fields:
--dec={ 0 | 1 | 2 }Specify the number of decimal places to use (0 to 2, default value is 2).
-hThis option is equivalent to specifying --human --pretty.
--humanPrint sizes in human readable format (e.g. 1.0k, 1.2M, etc.). The units displayed with this option supersede any other default units (e.g. kilobytes, sectors...) associated with the metrics.
-kDisplay statistics in kilobytes per second.
-mDisplay statistics in megabytes per second.
--prettyMake the CIFS report easier to read by a human.
-tPrint the time for each report displayed. The timestamp format may depend on the value of the S_TIME_FORMAT environment variable (see below).
-VPrint version number then exit.
The cifsiostat command takes into account the following environment variables:
-t will also be ISO 8601 compliant./proc filesystem must be mounted for cifsiostat to work.
Although cifsiostat speaks of kilobytes (kB), megabytes (MB)..., it actually uses kibibytes (kiB), mebibytes (MiB)... A kibibyte is equal to 1024 bytes, and a mebibyte is equal to 1024 kibibytes.
/proc/fs/cifs/Stats contains CIFS statistics.
Written by Ivana Varekova (varekova <at> redhat.com)
Maintained by Sebastien Godard (sysstat <at> orange.fr)
sar(1), pidstat(1), mpstat(1), vmstat(8), iostat(1), tapestat(1), nfsiostat(1)
https://github.com/sysstat/sysstat
http://pagesperso-orange.fr/sebastien.godard/
Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-04 09:45 @216.73.217.103
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)