Skip to content

Instantly share code, notes, and snippets.

@paulmey
Created June 15, 2018 15:26
Show Gist options
  • Save paulmey/d8bf06f3792b82134b7537f84ca9338d to your computer and use it in GitHub Desktop.
Save paulmey/d8bf06f3792b82134b7537f84ca9338d to your computer and use it in GitHub Desktop.
IO pattern captures
# timestamped, Mbps, extended disk stats as csv, ready for import into Excel
iostat -tmxd 5 | awk '{OFS=","} NF==3 {ts=$0} NR==4 {NF=NF;print "Timestamp",$0} NF==14 && $1!~/^Dev/ {NF=NF;print ts,$0 }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment