• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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