iostat -x 在新版的linux 内核中支持很好!可以方便的看出那块硬盘,哪个分区,哪个分区比较忙。[@more@]
[oracle@ora /]$ lsb_release -a
LSB Version: :core-3.0-amd64:core-3.0-ia32:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS
Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
Release: 4
Codename: NahantUpdate8
[oracle@ora /]$ iostat -x
Linux 2.6.9-89.ELsmp (ora.localdomain) 05/24/2011
avg-cpu: %user %nice %sys %iowait %idle
0.17 0.02 0.49 0.21 99.11
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util
hdc 0.01 0.00 0.00 0.00 0.05 0.00 0.03 0.00 136.00 0.00 34.50 34.50 0.00
sda 1.66 7.59 3.90 3.44 205.86 88.18 102.93 44.09 40.08 0.08 10.87 2.57 1.89
sda1 0.14 0.00 0.01 0.00 0.31 0.00 0.15 0.00 21.86 0.00 3.39 2.78 0.00
sda2 1.50 7.59 3.88 3.44 205.36 88.18 102.68 44.09 40.10 0.08 10.89 2.57 1.88
sdb 0.07 0.79 1.08 0.53 38.55 10.56 19.28 5.28 30.36 0.01 4.29 2.64 0.43
sdb1 0.05 0.79 1.08 0.53 38.36 10.56 19.18 5.28 30.30 0.01 4.30 2.64 0.43
sdc 0.04 0.00 0.01 0.00 0.41 0.00 0.21 0.00 52.68 0.00 1.27 1.27 0.00
sdd 0.04 0.00 0.01 0.00 0.41 0.00 0.21 0.00 52.68 0.00 1.12 1.12 0.00
sde 0.04 0.00 0.01 0.00 0.41 0.00 0.21 0.00 52.68 0.00 0.88 0.88 0.00
sdf 0.04 0.00 0.01 0.00 0.41 0.00 0.21 0.00 52.68 0.00 1.83 1.83 0.00
dm-0 0.00 0.00 6.41 12.34 243.55 98.74 121.77 49.37 18.25 0.16 8.76 1.16 2.17
dm-1 0.00 0.00 0.01 0.00 0.07 0.00 0.03 0.00 8.00 0.00 3.29 0.89 0.00
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7370972/viewspace-1050292/
,如需转载,请注明出处,否则将追究法律责任。