美文网首页
Linux 查看进程IO

Linux 查看进程IO

作者: mingzhi618 | 来源:发表于2018-11-02 16:24 被阅读0次

1. 显示有I/O行为的进程

iotop 选项:

-o, --only only show processes or threads actually doing I/O

-p PID, --pid=PID processes/threads to monitor [all]

-P, --processes only show processes, not all threads

$ iotop -oP

2. 展示I/O统计

展示I/O统计,每秒更新一次

$ pidstat -d 1

相关文章

网友评论

      本文标题:Linux 查看进程IO

      本文链接:https://www.haomeiwen.com/subject/fiscxqtx.html