373 shaares
3 results
tagged
nginx
ps -ylC httpd --sort:rss | awk '{sum+=$8; ++n} END {print "Tot="sum"("n")";print "Avg="sum"/"n"="sum/n/1024"MB"}'
The biggest advantage is you can add more backend server to this setup. Nginx has the capability to handle many servers and it can even load balance between them