Plesk How to recalculate statistics for a particular domain

Resolution

Plesk Panel invokes the statistics utility (which resides in the ${PRODUCT_ROOT_D}/admin/bin directory) to calculate web page access statistics, traffic usage statistics, and disk space usage statistics, in the scope of daily maintenance activity. The option–calculate-one of the statistics utility is used to initiate manual statistics recalculation for one domain only:

~# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=yourdomain.com

More information about statistics utility usage is available from the –help option output:

~# /usr/local/psa/admin/sbin/statistics --help
Usage: statistics [OPTIONS]...
  Without options - calculate statistics for all domains
  --calculate-all
        calculate statistics for all domains
  --calculate-one --domain-name=<domain_name>
        calculate statistics for <domain_name>
  -h, --help
        display this help and exit
~#

Leave a comment