• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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