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
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
展示I/O统计,每秒更新一次
$ pidstat -d 1
本文标题:Linux 查看进程IO
本文链接:https://www.haomeiwen.com/subject/fiscxqtx.html
网友评论