Linux(Centos)查看进程对磁盘的读写IO
标题 | 命令 |
---|---|
1 | iotop |
2 | sar -b 1 10 |
3 | top 的wa位 |
4 | iostat -p $PID -x 1 |
5 | vmstat 2 5 |
6 | pidstat -d |
7 | cat /proc/$$/id |
Iotop:
python编写,需要安装
Sar -b 1 2
Top wa标识iowait
Iostat -x 1 -p $PID
Vmstat 2 5
Cat /proc/$$/io
Pidstat -d
Linux(Centos)查看进程对磁盘的读写IO
标题 | 命令 |
---|---|
1 | iotop |
2 | sar -b 1 10 |
3 | top 的wa位 |
4 | iostat -p $PID -x 1 |
5 | vmstat 2 5 |
6 | pidstat -d |
7 | cat /proc/$$/id |
Iotop:
python编写,需要安装
Sar -b 1 2
Top wa标识iowait
Iostat -x 1 -p $PID
Vmstat 2 5
Cat /proc/$$/io
Pidstat -d