debian显示内存占用前十的进程

ps aux | sort -k4,4nr | head -n 10

pmap $(pgrep php-cgi | head -1) //查看PHP-CGI占多大的内存

Drop Your Comment