[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

 

相关文章:

  • 2021-05-08
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-18
  • 2022-01-22
猜你喜欢
  • 2022-02-20
  • 2022-02-03
  • 2022-12-23
  • 2021-12-13
  • 2021-08-03
  • 2022-12-23
相关资源
相似解决方案