centos服务器如何用命令查看哪个程序内存占用情况
free -m只能查看内存总量情况
我想查看每个程序单独使用的情况用什么命令
PHP中文网2017-04-17 15:05:32
Simple command, top 10 memory-consuming programs, all programs are listed without adding head
ps aux|head -1; ps aux | sort -k4nr | head -10
迷茫2017-04-17 15:05:32
top command, M can see the percentage occupied by the process and estimate the memory occupied by the process