Tutorials

How to Monitor Apache on MacOS X

To monitor the connections of your Apache2 http server (on a Mac Mini Server for example) type:

tail -f /var/log/apache2/access_log

You will get an automatically updated output like this:

88.67.223.212 - - [17/Apr/2014:10:45:42 +0200] "GET /roettger HTTP/1.1" 301 356
141.75.33.13 - - [17/Apr/2014:10:45:42 +0200] "GET /roettger/pub/Ohm64.gif HTTP/1.0" 200 206
88.67.223.212 - - [17/Apr/2014:10:45:42 +0200] "GET /roettger/ HTTP/1.1" 200 10399
88.67.223.212 - - [17/Apr/2014:10:45:42 +0200] "GET /roettger/pub/skins/skittlish/base.css HTTP/1.1" 304 -
88.67.223.212 - - [17/Apr/2014:10:45:42 +0200] "GET /roettger/pub/skins/skittlish/app.js HTTP/1.1" 304 -
88.67.223.212 - - [17/Apr/2014:10:45:42 +0200] "GET /roettger/pub/LaTeXMathML/LaTeXMathML.js HTTP/1.1" 304 -
88.67.223.212 - - [17/Apr/2014:10:45:42 +0200] "GET /roettger/pub/css/local.css HTTP/1.1" 304 -
88.67.223.212 - - [17/Apr/2014:10:45:42 +0200] "GET /roettger/uploads/How2/Template.svg HTTP/1.1" 304 -
88.67.223.212 - - [17/Apr/2014:10:45:42 +0200] "GET /roettger/pub/Ohm64.gif HTTP/1.1" 304 -
88.67.223.212 - - [17/Apr/2014:10:45:42 +0200] "GET /roettger/pub/skins/skittlish/images/fixed.gif HTTP/1.1" 304 -
88.67.223.212 - - [17/Apr/2014:10:45:42 +0200] "GET /roettger/pub/skins/skittlish/images/fluid.gif HTTP/1.1" 304 -
219.226.97.249 - - [17/Apr/2014:10:45:33 +0200] "GET /data/terrain/Landsat/EarthSat/p001r049_nn10.tif.gz HTTP/1.1" 206 3195953
...

Options: