linux查看哪个进程占用磁盘IO

冷不防 2022-07-13 04:29 314阅读 0赞

方法一:

$ iotop -oP

命令的含义:只显示有I/O行为的进程

测试结果:

SouthEast

方法二:

$ pidstat -d 1

命令的含义:展示I/O统计,每秒更新一次

测试结果:

SouthEast 1

注意

以上两个命令都需要内核版本支持kernels 2.6.20 and later only

更多的参数请参阅man手册

原文出自:http://blog.csdn.net/daiyudong2020/article/details/53863314

End;

发表评论

表情:
评论列表 (有 0 条评论,314人围观)

还没有评论,来说两句吧...

相关阅读