In Plesk, statistics (disk and traffic usage data, as well as web statistics) are calculated once every 24 hours. If, for some reason, statistics were not updated, or if you cannot wait for the next automatic update, you can generate the statistics manually by using the
statistics command line utility.
To generate the statistics manually
- Log in to the Plesk server as administrator.
- Run the following command in the command prompt:
plesk sbin statistics [command][options]
The command and options you use determine what data is generated. Here are a few examples illustrating common use cases:
Generate disk and traffic usage data and web statistics for the whole server
plesk sbin statistics --calculate-all
Generate disk and traffic usage data and web statistics for the domain example.com
plesk sbin statistics --calculate-one --domain-name=example.com
Generate web statistics for the domain example.com
plesk sbin statistics --generate-domain-webstat --domain-name=example.com
Read more about the
statistics utility in the Plesk CLI guide.
Leave your feedback on this topic here
If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.