Calculating Statistics
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.
You can update the data for individual domains, or for the whole server. You can generate disk and traffic usage data, web statistics, or both.
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.