This will show you top 10 process that using the most memory:
ps aux –sort=-%mem | awk ‘NR<=10{print $0}’
本文介绍了一种快速查看当前系统中内存占用最高的前10个进程的方法。通过组合使用ps、aux、sort和awk命令,可以有效地找出消耗最多内存资源的进程。
This will show you top 10 process that using the most memory:
ps aux –sort=-%mem | awk ‘NR<=10{print $0}’

被折叠的 条评论
为什么被折叠?