• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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