IOZTAT(8)
π ioztat(8) β display logical I/O statistics for ZFS datasets
Hey bestie, welcome to the ioztat(8) page from the System Manager's Manual β it's giving very useful ZFS logical I/O energy β¨
πΈ NAME
ioztat β display logical I/O statistics for ZFS datasets
π¦ SYNOPSIS
ioztat -V | --version
ioztat -h | --help
ioztat [-DeHINnoSxyz] [-c count] [-i interval] [-T u|d]
[-s name|operations|reads|writes|throughput|nread|nwritten]
[dataset ...] [interval [count]]
π DESCRIPTION
The ioztat utility displays logical I/O statistics for individual ZFS datasets. The first report is averaged over the system uptime unless it's suppressed with -y. If an interval is specified, that first report is followed by reports averaged over the reporting interval. If -y or a count is specified, interval defaults to one second.
Underlying device I/O depends on pool and dataset configuration. See zpool-iostat(8) and iostat(8) for reporting on these values.
To filter output you may pass in a list of datasets. If no datasets are specified, statistics for every mounted dataset in the system are shown. If the -n option is given, child datasets are not included for any specified dataset unless they are also directly specified.
Okay bestie, here are the options β every single one, no skips π«Ά
β¨ OPTIONS β¨
-Dβ Display formatted byte sizes using decimal powers of1000instead of powers of1024.-cβ Displaycountreports and exit. This can also be specified after an interval at the end of the argument list. Ifintervalis specified but notcountthen it defaults to infinity, otherwise it defaults to one.-eβ Display exact values, without truncating dataset names (unless-pis given) or formatting numeric output.-Hβ Scripted mode, skip headers and tab-separate fields instead of using arbitrary whitespace.-h,--helpβ Display help text and exit.-Iβ Display total statistics since the last report instead of averages per-second.-iβ Pauseintervalseconds between reports. This can also be specified at the end of the argument list, prior to an optional count. If no interval is specified the default is1second.
The ioztat command will accept non-integer intervals, but it should be noted the reporting interval is not exact.
-Nβ Display headers only once, instead of periodically repeating them.-nβ Omit children of any specified datasets that haven't themselves been explicitly specified.-oβ Overwrite mode. Before each report, clear the screen and print only as many lines as will fit.-Pβ Display dataset names on a single line.-pβ Display dataset names as an indented tree spread across multiple lines. These options override defaults that may be applied by different sorting and display modes.-Sβ Sum child dataset statistics into their parents. This can be useful when combined with-nto omit display of child datasets while still seeing associated I/O.-sβ Sort each report by the specified order. Defaults toname. Choices arename,operations,reads,writes,throughput,nread,nwritten.-T u|dβ Before each report, display a timestamp. Specifyufor a numeric Unix timestamp in seconds since the epoch, ordfor a formatted date-time.-V,--versionβ Display the current version ofioztatand exit.-xβ Specified once, display anopsizegroup containing throughput divided by operations, giving the average byte size of each I/O. Specified twice, also display anunlinkssection giving a count of the number of files and directories queued for deletion, and the number which have been deleted.-yβ Omit statistics since boot. This suppresses output for the firstintervalseconds.-zβ Omit datasets which have no activity.
π EXAMPLES
ioztat rpool/USERDATA 1
Display per-second statistics for any mounted datasets within rpool/USERDATA.
ioztat -zoTd -s operations 5
Display statistics for all mounted datasets with activity across five second intervals, ordered by total read and write operations, limited by available display and overwriting prior reports in a manner similar to top(1).
ioztat -SIn rpool
Display sum total of I/O for all datasets within rpool since boot.
ioztat -Hey
Display a single one-second report for all mounted datasets, using a machine-readable format omitting headers, using tab-delimited fields, and providing exact values.
π SEE ALSO
iostat(8), zfs(8), zpool-iostat(8)
π BUGS
Please report any issues at https://github.com/jimsalterjrs/ioztat/issues
Debian build, January 29, 2022 ππ
π¦ where this page comes from
- nixos 26.05: ioztat 2.0.1
- nixpkgs unstable: ioztat 2.0.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms