Typically if you need to monitor Apache, you have to rely on log file analysis or the built in server-status tool via mod_status. I wanted something better to monitor all the hosts on my web cluster.
Now that I’ve got realtime Apache log consolidation working, I found a cool utility in Theo Schlossnagle’s book, Scalable Internet Architectures that let’s you see realtime response code stats for your web cluster. I call the thing wwwtop.
The output looks like this, using the first four hosts with a one-second interval:
Looks like I’ve got some 404′s to hunt down.
Some To-dos:
- pretty aggregate output, similar to mytop.
- a version to monitor APC stats the same way
Combined with top, vmstat, bmon, mytop, and now this, I’ve got a complete toolkit for monitoring the web stack.



March 22nd, 2009 at 12:07 am
Just out of curiosity, are you complying with the license?:
“3. All advertising materials (including web pages) mentioning features or use of this software, or software that uses this software, must display the following acknowledgment: “This product uses software developed by Spread Concepts LLC for use in the Spread toolkit. For more information about Spread see http://www.spread.org“”
I wanted to try Spread and related projects but this is a deal killer.
March 22nd, 2009 at 4:39 am
@Steve C – well I guess I am now.. Thanks for the heads up.
July 4th, 2011 at 5:51 am
thanks for the post…Indepth analysis of the log files is great, but sometime you just want to see what is happening on your web sites at the moment….Apachetop is a very useful and small program that displays the stats for Apache as they happen…
Use multitail to watch the logs..