Goodbye massive necro here. You really want iostat -x , which will display advanced statistics for the device in question since the last iostat was launched. If you want to control the queue in real time, you need iostat -xt 1 (or iostat -xmt 1 show details in megabytes).
The average queue size can be seen in the avgqu-sz column.
Consider the following example output from iostat -xmt 1 , which shows a full I / O queue (the maximum queue length is 128 for this device) and a saturated disk during the test.
18/05/15 00:41:05 avg-cpu: %user %nice %system %iowait %steal %idle 0.00 0.00 0.00 6.02 0.00 93.98 Device: rrqm/s wrqm/sr/sw/s rMB/s wMB/s avgrq-sz avgqu-sz await svctm %util xvda 0.00 0.00 1.00 1308.00 0.00 163.50 255.81 133.30 101.15 0.76 100.00
daveh
source share