Outputs billing information for the array, or for a subset of the array, over a time period. Information is displayed on screen in CSV format.
tarantella query billing { --full | --sessions | --summary } --startdate
--daysdays
--enddate
[ --serversarrayhost
... ]
The following table shows the available options for this command.
Option | Description |
---|---|
| Displays detailed information for all user sessions and application sessions. |
| Displays information for all application sessions. |
| Displays a short summary of billing information and an application session summary. |
|
Specifies the start of the billing period. The format is
|
|
Specifies the number of days from the date specified by
|
|
Specifies the end of the billing period. The format is
|
|
Only reports billing information from the named
SGD servers. Use peer DNS names. If you
omit |
The billing files are written at midnight local time each day.
You must run this command on the primary server in the array.
You must enable billing services, see Section A.9.2, “Billing Service”, and restart all SGD servers in the array before any data is logged.
The following example displays billing information for the entire array, for the 30 days from May 1, 2000.
# tarantella query billing --full \ --start "2000/05/01" --days 30
The following example displays a short summary of billing information for the servers prague and paris, for the 30 days from January 1 2000.
# tarantella query billing --summary \ --start "2000/01/01" --days 30 \ -- servers prague.example.com paris.example.com
The following example displays billing information for all
application sessions for the entire array for the period January
19 2001 to January 22 2001 and outputs the results to a file
called Sessions.csv
.
# tarantella query billing --sessions \ --start "2000/01/19" --end "2000/01/23" > sessions.csv