服务器性能排查
说明
这个就一直更新吧
总体利用率
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
本文来自博客园,作者:杨旭0324,转载请注明原文链接:https://www.cnblogs.com/allalonewithyou/p/22540256,个人邮箱:yaonie4444@foxmail.com

浙公网安备 33010602011771号