合 在Linux系统中如何找到资源占用率高的前几个进程(top N)
Tags: OS监控CPU总结内存常用命令top N查询CPU使用率磁盘磁盘IO网络IO占用率CPU占用率磁盘IO占用率流量命令整理总结占用率内存占用率使用率资源占用率
CPU占用率最高的前几个进程
https://www.xmmup.com/linuxzhitopmingling.html
1 2 3 4 | top --> Shift + p ps aux --sort=-%cpu | head -10 ps auxw|head -1;ps auxw|sort -rn -k3|head -10 ps auxw --sort=%cpu |
内存占用率最高的前几个进程
https://www.xmmup.com/linuxchakanzuixiaohaoneicundejincheng.html#top_ming_ling
https://www.xmmup.com/linuxxiachakanneicunshiyongqingkuang.html