Articles in this section

How to recalculate statistics for a particular domain in Plesk?

Plesk for Windows kb: how-to Plesk for Linux ABT: Group B

Applicable to:

  • Plesk for Windows
  • Plesk for Linux

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.

Click on a section to expand

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

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

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.