awk统计httpd占用的内存

ps aux|grep -v grep|awk '/httpd/{sum+=$6;n++};END{print sum/n}'
相关文章
相关标签/搜索