With Apache Web servers, you have the option of using the built-in status report functionality. This functionality requires that a mod_status module be built in, which is done by default.
<Location /server-status> SetHandler server-status order deny, allow deny from all allow from .foo.com </Location>If this code already exists but is commented out, un-comment it.
Total Accesses: 210 Total kBytes: 94 CPULoad: .000278279 Uptime: 366539 ReqPerSec: .000572927 BytesPerSec: .262608 BytesPerReq: 458.362 BusyServers: 1 IdleServers: 6 Scoreboard: ______W.................................................................................
wget -q -O - http://<hostname>/server-status | grep "requests/sec" | cut -c5- | cut -d\ -f1