日期:2014-05-16  浏览次数:20832 次

apache内存占用统计

计算httpd占用内存的平均数:
ps aux|grep -v grep|awk '/httpd/{sum+=$6;n++};END{print sum/n}'