The traffic
utility serves to manage traffic usage statistics for
domains. Using this utility, you can perform the following tasks:
- register certain amount of traffic
- subtract certain amount of traffic
- register certain amount of traffic from batch
- reset traffic
Note: The utility is available since Plesk 9.
Usage
traffic <command> [<param>] [
<option 1> <param> [<option 2> <param> ... [<option N> <param>]
]
Example
The following command adds 100Mb of inbound HTTP traffic to example.com
traffic:
plesk bin traffic -a example.com -date 2008-10-17 -type http -value 100M -direction in
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--add or -a
|
<domain name> |
Registers specified amount of traffic as if being already used Requires all options. |
To add 100Mb of inbound HTTP traffic to example.com traffic: plesk bin traffic -a example.com -date 2008-10-17 -type http -value 100M -direction in |
--add-user or -au |
<login> |
Registers specified amount of traffic as if being already used Requires all options. |
To add 100Mb of inbound HTTP traffic to the traffic of user plesk bin traffic -a jdoe -date 2008… |