• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question How to find the busiest web site

tkalfaoglu

Silver Pleskian
PLESK provides us with great tools on traffic, but I was wondering if there was a way to find which of the hosted sites gets the most HITS. I know I can find the sites with the most traffic, but I'm looking for hits, because a site with large downloads or large images skews the statistics.

I need this for a job on hand, but I couldn't find an easy way to do it. Many thanks for any feedback.
 
Last edited:
I found my own reply.. I mean I wrote my own code in OORexx.. I figured the size of the access_logs should provide a clue,
so I did this:

#!/bin/rexx
"rxqueue /clear"
"find /var/www/vhosts -name access_log | rxqueue"
do while queued()>0
parse pull r
say stream(r,"c","query size") r
end


I saved this as busiestsites and ran it like ./busiestsites |sort -n
works great :)
 
Back
Top