Plesk

How to recalculate statistics for a particular domain in Plesk?

Question

Domain's statistics has been changed. How to manually recalculate statistics for one domain to reflect the changes in Plesk?

Answer

Note: This guide is intended for Plesk administrators with an SSH/RDP access to a Plesk server. If you are a domain owner, please contact your service provider for assistance.

For Linux

  1. Connect to a Plesk server via SSH.

  2. Use the 'statistics' utility to calculate web page access statistics, traffic usage statistics and disk space usage statistics:

    # plesk sbin statistics --calculate-one --domain-name=example.com

For Windows

  1. Connect to the Plesk server via RDP.

  2. Use the 'statistics' utility to calculate traffic usage statistics and disk space usage statistics:

    plesk sbin statistics --generate-domain-webstat --domain-name=example.com

  3. Use the 'web_statistics_executor' utility to update web statistics:

    "%plesk_bin%"web_statistics_executor.exe --calculate-domain --domain-name=example.com --webspace-name=example.com