因为lucene须要必定的io读写顾安装iostat来对磁盘io进行监控 html
iostat 属于sysstat下的功能 java
git路径以下:https://github.com/sysstat/sysstat ios
第一步,须要下载该文件 git
http://sebastien.godard.pagesperso-orange.fr/download.html github
第二部,则须要开始编译了,与其余程序安装类似 code
./configure htm
make && make install get
安装完成后就可使用了. it
[root@gather11 home]# iostat -x 1 10 Linux 2.6.18-194.el5 (gather11) 05/04/2014 _x86_64_ (16 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 0.01 0.00 0.00 0.01 0.00 99.98 Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util sda 0.00 1.94 0.00 0.57 0.04 10.02 35.31 0.02 43.39 3.65 43.64 4.11 0.23