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
在这里插入图片描述

Logo

更多推荐