↑ ↓ select, Enter open, Esc close

Find the domains with the most requests on Plesk

root@server
wc -l /var/www/vhosts/system/*/logs/access_ssl_log 2>/dev/null | sort -rn | head -20

Plesk stores the logs of each domain under /var/www/vhosts/system/<domain>/logs/. The command counts the lines in the access_ssl_log of all domains and shows the 20 largest. The top line with total is the overall sum, followed by the domains ordered by number of requests.

Note: Only requests since the last log rotation are counted, and rotation can be configured differently per domain. Plain HTTP requests are in access_log.

Also searched as

  • which domain gets the most requests
  • which website is causing the load
  • plesk requests per domain
  • busiest site on the server

Related one-liners

All in Logs

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.