找出占用内存资源最多的前 10 个进程 ps -auxf | sort -nr -k 4 | head -10 找出占用 CPU 资源最多的前 10 个进程 ps -auxf | sort -nr -k 3 | head -10