During installation of Parallels Plesk Panel several scheduled tasks are automatically created. One of such tasks, statistics, generates statistics on the limits imposed on domains, such as inbound and outbound traffic, the disk space occupied by web content, log files, databases, mailboxes, web applications, mailing list archives, and backup files.
You can vary which data the statistics task should count, thus making the task work faster. To do this, run the statistics task with a necessary combination of options specifying the parts of statistics you want to collect.
To run the statistics task with required options, follow these steps:
cmd.exe.%plesk_dir%\admin\bin (where %plesk_dir% is the system variable defining the folder where Parallels Plesk Panel is installed).statistics.exe task with required options. See the list of options and their descriptions in the tables below.
For example, to count statistics in the mode that will skip all FTP logs, you can use the following command:
statistics.exe --http-traffic --disk-usage --mailbox-usage --mail-traffic --notify --update-actions
Main options
Each main option defines the part of statistics to be calculated. When only main options are used, the specified statistics will be collected for all domains.
Option |
Description |
|
Disk usage will be calculated for all mail boxes. |
|
Disk usage for domains and all mail boxes will be calculated. |
|
HTTP traffic will be calculated. |
|
FTP traffic will be calculated. |
|
Mail traffic will be calculated. Note: Parallels Plesk Panel does not support traffic calculation on hMail and CommunigatePro mail servers. |
|
Clients traffic will be updates and expiration notifications will be sent. |
|
Action log will be rotated and action events will be launched. |
|
This option is the combination of all previous options, the complete statistics will be collected. |
none |
When no options are specified, the complete statistics will be collected, like in the case when the |
Additional options
Additional options allow you to specify the set of domains for which the statistics will be calculated. Domain names or masks specified in these options should be separated by ',' or ';' symbol. You may combine additional options and use them without main options. If you use additional options without main ones, complete statistics will be calculated only for selected domains. Domains being specified directly have higher priority then those being specified by masks, also 'skip' list has higher priority then 'process' list.
Option |
Description |
|
Only domains specified in this option will be processed. |
|
Only domains corresponding to the mask specified in this option will be processed. When this options is used and there are no domains corresponding to the specified mask, all the domains will be processed. |
|
Domains specified by this option will not be processed. |
|
Domains corresponding to the mask specified by this option will not be processed. |
|
The expiration notification will be sent only to the specified domain. |
For information about implementation of permanently customized statistics calculation, consult the "Configuring Statistics" section of the Parallels Plesk Panel for Windows Administrator's Guide.