How to recalculate statistics for a particular domain on Plesk for Llinux?

Refers to:

  • Plesk for Linux
  • Plesk 12.0 for Windows

Created:

2016-11-16 13:06:04 UTC

Modified:

2017-02-24 12:21:34 UTC

2

Was this article helpful?


Have more questions?

Submit a request

How to recalculate statistics for a particular domain on Plesk for Llinux?

Question

How to recalculate statistics for a particular domain?

Answer

Plesk calls /usr/local/psa/admin/bin/statistics utility to calculate web page access statistics, traffic usage statistics and disk space usage statistics, in the scope of Daily Maintenance Task activity.

The option --calculate-one is used to initiate manual statistics recalculation for one domain only:

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

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

[root@server ~]# /usr/local/psa/admin/bin/statistics --help
Usage: /usr/local/psa/admin/sbin/statistics [ options ]
--calculate-all Calculate statistics for all domains
--calculate-one Calculate statistics for <domain-name>
--domain-name|-d <string>
--calculate-list Calculate statistics for listed domains
--generate-all-webstat Generate web-statistics pages for all domains
--generate-domain-webstat Generate web-statistics pages for <domain-name>
--domain-names|-n <string> List of domains, comma separated
--domain-ids|-i <string> List of domains IDs, comma separated
--process-domains|-p <string> Calculate statistics for <domain-name>
--all Calculate all aspects of statistics
--antivirus Calculate antivirus and antispam statistics
--no-webstat Do not generate web-statistics pages (always set for PPA mode, on Windows platform or in Shared Hosting Module mode)
--no-dbstat Do not generate DB hosting statistics
--help|-h display this help and exit
If no options specified - calculate statistics for all domains

Additional information:

#213943445 - [HUB] Troubleshooting Statistics Issues in Plesk for Linux

Have more questions? Submit a request
Please sign in to leave a comment.