Sample extended device latency and utilization statistics
Build a paste-ready command, then review its compatibility and effects before running it.
iostat -xz <seconds> <count>Complete required fields to copy the generated command.
read-onlyno known side effects Compatibility
LinuxVerified for Linux using bash, zsh syntax.
Operational knowledgereview due 2027-01-19
Requirementsiostatiostat must be installed and available on PATH.
Version supportiostat Current supported releasesVerified for linux using bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signalsDevice r/s rkB/s r_await w/s wkB/s w_await aqu-sz %utilRepresentative successful output; values vary with the selected target and system state.
Known errorsiostat: command not foundiostat is missing or is not available on PATH.
Verifyiostat -xz {{seconds}} {{count}}The output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01iostatCommandRuns the iostat stage of this one-liner.
02-xzOptionConfigures iostat with the -xz option.
03<seconds>ParameterA value supplied in the Fill parameters section.
04<count>ParameterA value supplied in the Fill parameters section.
This advanced community-curated one-liner combines several stages. Review every option and placeholder before running it.
Example input
iostat -xz 1 3
Example output
Device r/s rkB/s r_await w/s wkB/s w_await aqu-sz %util
nvme0n1 42.0 821.0 0.42 188.0 18421.0 3.81 0.74 68.2
sda 0.2 4.0 1.11 2.0 32.0 8.20 0.02 1.8
Illustrative output — exact values vary by system and data.
Official sources