服务器性能排查

说明

这个就一直更新吧

总体利用率

top
htop

IO

# 查找io占用高的pid
sudo pidstat -d 1
# 查看pid那个进程的具体信息
sudo witr --pid <pid>
#  查看实时io占用
sudo iotop -oP
# 查看各磁盘的 %util、await、svctm
iostat -x 1
# 查看哪些进程读写磁盘最多
pidstat -d 1

上下文

# 查看上下文
sudo vmstat 1
posted @ 2026-08-18 11:16  杨旭0324  阅读(6)  评论(0)    收藏  举报