1. 查看使用内存最多的10个进程 ps -aux | sort -k4nr | head -n 10 2.查看使用CPU最多的10个进程 ps -aux | sort -k3nr | head -n 10