iotop

 

[root@bass virhost]# yum search iotop
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirrors.yun-idc.com
 * extras: mirrors.tuna.tsinghua.edu.cn
 * updates: mirrors.tuna.tsinghua.edu.cn
============================== N/S Matched: iotop ==============================
iotop.noarch : Top like utility for I/O

  Name and summary matches only, use "search all" for everything.
[root@bass virhost]# yum install iotop
[root@bass virhost]# which iotop
/usr/sbin/iotop
[root@bass virhost]# iotop

 q------>是退出

iotop -p pid-------->只显示该程序的IO

[root@bass Desktop]# ps aux|grep win7|grep -v grep|awk -F " " '{print $2}'
4729
#注意awk -F " " 是以空格为分隔符
[root@bass Desktop]# iotop -p 4729

 

posted @ 2016-07-25 08:36  bass  阅读(165)  评论(0编辑  收藏  举报