Linux 終端查看最消耗 CPU 內存的進程
科技
12-25
1.CPU佔用最多的前10個進程
2.內存消耗最多的前10個進程
3.虛擬內存使用最多的前10個進程
4.也可以試試
5.看看幾個參數含義
%MEM 進程的內存佔用率
MAJFL is the major page fault count,
VSZ 進程所使用的虛存的大小
RSS 進程使用的駐留集大小或者是實際內存的大小(RSS is the "resident 5. set size" meaning physical memory used)
TTY 與進程關聯的終端(tty)
![](https://pic.pimg.tw/zzuyanan/1488615166-1259157397.png)
![](https://pic.pimg.tw/zzuyanan/1482887990-2595557020.jpg)