How do you read `iostat -xz 1`?
IntermediateProductionPerformance & the USE Method
Answer
Key columns per device:
r/s,w/s,rkB/s,wkB/s: IOPS and throughput.r_await,w_await: average ms per I/O including queue time; the latency the app feels.aqu-sz: average queue length; saturation signal.%util: time the device was busy. Near 100% matters on a single spinning disk, but NVMe and cloud volumes process many I/Os in parallel, so they can show 100% and still have headroom; trust await and the volume's IOPS limits instead.
-z hides idle devices.
More on Performance & the USE Method
What is the USE method?BeginnerMap the USE method to concrete Linux commands.IntermediateWhat is your "first 60 seconds" checklist on a slow server?IntermediateHow do you read vmstat output?IntermediateWhat is sar and why install sysstat on every server?Beginnertop vs htop vs atop: when do you use each?Beginner