Skip to content

Instantly share code, notes, and snippets.

@jbodah
Created June 4, 2018 15:32
Show Gist options
  • Save jbodah/e77cca42bf618f4e1d9a4836ff6b290c to your computer and use it in GitHub Desktop.
Save jbodah/e77cca42bf618f4e1d9a4836ff6b290c to your computer and use it in GitHub Desktop.
how to check for a disk bottleneck
iostat -xmt 2
# Example output:
06/04/2018 03:29:38 PM
avg-cpu: %user %nice %system %iowait %steal %idle
11.14 0.00 0.75 1.00 0.13 86.98
Device: rrqm/s wrqm/s r/s w/s rMB/s wMB/s avgrq-sz avgqu-sz await svctm %util
xvda 0.00 65.00 18.00 1450.50 0.21 23.29 32.79 6.17 4.20 0.08 11.40
06/04/2018 03:29:40 PM
avg-cpu: %user %nice %system %iowait %steal %idle
6.53 0.00 0.38 30.03 0.25 62.81
Device: rrqm/s wrqm/s r/s w/s rMB/s wMB/s avgrq-sz avgqu-sz await svctm %util
xvda 0.00 22.50 17.00 3377.50 0.24 50.10 30.38 144.65 42.10 0.29 100.00
06/04/2018 03:29:42 PM
avg-cpu: %user %nice %system %iowait %steal %idle
4.41 0.00 0.25 19.42 0.25 75.66
Device: rrqm/s wrqm/s r/s w/s rMB/s wMB/s avgrq-sz avgqu-sz await svctm %util
xvda 0.00 10.00 7.50 3100.00 0.09 45.24 29.87 144.24 46.44 0.32 100.00
06/04/2018 03:29:44 PM
avg-cpu: %user %nice %system %iowait %steal %idle
0.13 0.00 0.13 16.37 0.25 83.12
Device: rrqm/s wrqm/s r/s w/s rMB/s wMB/s avgrq-sz avgqu-sz await svctm %util
xvda 0.00 1.00 0.00 2426.50 0.00 40.34 34.05 111.95 46.82 0.33 79.20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment