[root@testhost ~]# iostat
-bash: iostat: command not foundios
IOSTAT 命令不可用,首先確認sysstat包是否安裝,sysstat包中包括iostat,mpstat,sar,sabash
[root@testhost ~]#yum install -y sysstatit
安裝完成後,再執行iostat命令。io
解釋:test
avg-cpu段:
%user: 在用戶級別運行所使用的CPU的百分比.
%nice: nice操做所使用的CPU的百分比.
%sys: 在系統級別(kernel)運行所使用CPU的百分比.
%iowait: CPU等待硬件I/O時,所佔用CPU百分比.
%idle: CPU空閒時間的百分比.硬件
Device段:
tps: 每秒鐘發送到的I/O請求數.
Blk_read /s: 每秒讀取的block數.
Blk_wrtn/s: 每秒寫入的block數.
Blk_read: 讀入的block總數.
Blk_wrtn: 寫入的block總數.請求