Top Nav

Determine Most Active Site

On a server with many domains it can be difficult to determine which sites are taking the most traffic. Here’s a one-line that will generate a nice report:

This assumes that (a) log files are in /var/log/httpd, (b)  log file names end with “access.log” and that each domain has it’s own access list.