1 CPU资源:top htop命令
us:user state 用户态信息
sy:system state 内核态信息
id:idle 空闲状态
1.1 top命令
top -n 1
不动态显示,显示上一秒的状态
top -b
显示所有进程的状态
2 CPU负载:w top uptime命令
主要看5分钟负载 < CPU核数
主要看15分钟负载 < CPU核数
3 内存资源:top htop free命令
关注内存的available数值,swap的使用情况
4 磁盘资源:df iotop命令
df 监控磁盘利用率
iotop 监控磁盘的IO消耗
5 网络资源:iftop命令

6 综合显示 glances

网友评论