sar and iostat can be used to check disk I/O utilisation, below are some handy examples
sar Method (-p for pretty print, with 3s interval, 20 counts)
1 |
[root@box03 ~]# sar -d -p 3 20 | grep -i sda2 |
iostat Method (with 5s interval, 3 counts)
1 2 3 4 5 6 7 8 9 10 11 |
[root@box03 ~]# iostat -x -d sda2 5 3 Linux 2.6.18-194.el5 (box03.domain.dom) 08/15/2011 Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda2 0.02 1.66 0.13 0.96 2.68 20.98 21.77 0.00 1.44 0.45 0.05 Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda2 0.00 4.60 0.00 0.40 0.00 40.00 100.00 0.00 1.00 1.00 0.04 Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util sda2 0.00 0.80 0.00 4.00 0.00 38.40 9.60 0.00 0.30 0.15 0.06 |
Leave a Reply