摘要: 1、占用内存最高的进程 [root@centos7 ne]# ps -aux | sort -k 4nr | head -n 3 2、占用cpu最高的进程 [root@centos7 ne]# ps -aux | sort -k 3nr | head -n 3 阅读全文
posted @ 2022-04-12 14:07 小鲨鱼2018 阅读(631) 评论(0) 推荐(0) 编辑
摘要: 1、top或者uptime命令查看平均负载 [root@centos7 ne]# uptime ## 分别表示过去一分钟、过去五分钟、过去15分钟的平均负载 13:54:11 up 5:37, 2 users, load average: 0.00, 0.01, 0.05 2、平均负载与cpu的内核 阅读全文
posted @ 2022-04-12 14:00 小鲨鱼2018 阅读(128) 评论(0) 推荐(0) 编辑