Plesk

How to recalculate statistics for a domain on Plesk

Recalculate Statistics
Plesk

Recalculate statistics for a domain on Plesk

You can recalculate statistics for a domain on Plesk using the following command:

/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=example.com

Please replace the example.com with your desired domain name. Also, you can find the other options for “statistics” utility below:

Usage: /usr/local/psa/admin/sbin/statistics [ options ]
--calculate-all               Calculate statistics for all domains
--calculate-one               Calculate statistics for <domain-name>
--domain-name|-d <string>     
--calculate-list              Calculate statistics for listed domains
--generate-all-webstat        Generate web-statistics pages for all domains
--generate-domain-webstat     Generate web-statistics pages for <domain-name>
--domain-names|-n <string>    List of domains, comma separated
--domain-ids|-i <string>      List of domains IDs, comma separated
--process-domains|-p <string> Calculate statistics for <domain-name>
--all                         Calculate all aspects of statistics
--antivirus                   Calculate antivirus and antispam statistics
--no-webstat                  Do not generate web-statistics pages (always set for PPA mode, on Windows platform or in Shared Hosting Module mode)
--no-dbstat                   Do not generate DB hosting statistics
--help|-h                     display this help and exit
If no options specified - calculate statistics for all domains

That’s it!

If you like this post and wish to receive more articles from us, please like our FB page: Button

Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.

For more details on our services, please drop us an E-mail at info@grepitout.com

Add Comment

Click here to post a comment

Topics