ps aux|grep apache2|grep -v 'grep'|awk '{s+=$6} END {print "N.Proc",NR," | MemTotal=",s/1024,"M | MemAvg=",(s/NR)/1024,"M"}'