# 获取占用内存及cpu 最高的前10个进程

#### `ps -eo pid,comm,%cpu,%mem --sort=-%cpu,-%mem | head -n 11`

###  ps aux | head -1; ps aux | sort -rn -k4 | head -10