1,安装iotop和iostat的检测工具包:
#yum -y install sysstat
#yum -y install iotop
2,执行iostat查看IO读写状态
#iostat
-x -d 1
输出信息解释:
rrqm/s:每秒这个设备相关的读取请求有多少被Merge了(当系统调用需要读取数据的时候,VFS将请求发到各个FS,如果FS发现不同的读取请求读取的是相同Block的数据,FS会将这个请求合并Merge);
wrqm/s:每秒这个设备相关的写入请求有多少被Merge了。
r/s: The
number of read requests that were issued to the device per second
每秒发出的读取请求的数量
w/s: The
number of write requests that were issued to the device per second
没面发出的写入请求的数量
rkB/s: The
number of kilobytes read from the device per second
以千字节每秒从设备读取数
wkB/s: The
number of kilobytes written to the devi