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
-
Connect to a Plesk server via SSH.
-
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
-
Connect to the Plesk server via RDP.
-
Use the ‘statistics’ utility to calculate traffic usage statistics and disk space usage statistics:
plesk sbin statistics –calculate-one –domain-name=example.com
-
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
If the command from step 3. does not result updated web statistics, execute the below command:
“%plesk_bin%”statistics.exe –generate-domain-webstat –domain-name=example.com