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
网友评论