• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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