Requests per Second from Logfiles – Nginx, Apache
http://stackoverflow.com/questions/4051555/how-do-i-get-the-number-of-requests-per-second-from-apache-log-between-2-dates-t while true; do tail -n0 -f /var/log/wowza/wowzamediaserver_access.log>/tmp/tmp.log & sleep 2; kill $! ; wc -l /tmp/tmp.log | cut -c-2; done 2>/dev/null
As a bash function/alias
rqs /var/log/access.log function requests_per_second(log_filepath){ # http://stackoverflow.com/questions/4051555/how-do-i-get-the-number-of-requests-per-second-from-apache-log-between-2-dates-t while true; do tail -n0 -f "${log_filepath}" > /tmp/tmp.log & sleep 2; kill $!; wc -l /tmp/tmp.log | cut -c-2; done 2>/dev/null }
Memory per Process
1. http://koltsoff.com/pub/meminfo/releases/
2. wget http://koltsoff.com/pub/meminfo/releases/meminfo-1.0.2.tar.gz