Posts Tagged ‘tail’

Apache – access log monitoring

Wednesday, August 3rd, 2011

Using terminal:

$ cd /var/log/httpd/

$ tail -f access_log | grep 64.24.44.47

The -f means run continually until you hit Control – C to stop it

( the ip can be whatever your filtering the results to if your interested in an IP’s traffic )

Drop the | grep and the IP if you want all traffic

$ tail -f access_log