Product:
Search Type:

How can traffic statistics be updated for a particular domain name only?

Article ID: 393 
Last Review: Jul,22 2008
APPLIES TO:
  • Plesk 7.5.x Reloaded
  • Plesk 8.x for Linux/Unix

RESOLUTION

Usually when Plesk updates traffic statistics it performs update for all the domains hosted on the server. Since Plesk 7.5 if statistics need to be updated for one domain only you can use the following command:

~# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=yourdomain.com

Use the --help option to get other options for statistics

~# /usr/local/psa/admin/sbin/statistics --help
Usage: statistics [OPTIONS]...

  Without options - calculate statistics for all domains
  --calculate-all
        calculate statistics for all domains
  --calculate-one --domain-name=<domain_name>
        calculate statistics for <domain_name>
  -h, --help
        display this help and exit
~#
Keywords: one domain statistics

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields