HP Matrix Operating Environment 7.2 Update 1 Infrastructure Orchestration User Guide

Table 8 Chargeback CLI commands
DescriptionOperation
Returns usage and cost data for selected services.
For daily infrastructure usage data, set the period.type flag to DAILY. To return
summarized infrastructure for a period, set the period.type flag to PERIOD. Server,
Disk and IP address data is consolidated per infrastructure.
get usage
Returns detailed usage and cost data for selected services.
For daily infrastructure usage data, set the period.type flag to DAILY. To return
summarized infrastructure for a period, set the period.type flag to PERIOD. Data
for each Server, Disk and IP address is shown in detail.
get detailedusage
Returns aggregated usage and cost values for selected services.
Returns one entry with consolidated data for the entire period.
get aggregatedusage
To use the CLI tool, perform the following steps.
1. On the CMS, open a command prompt and change directory (cd) to
<IO-installation-path>\chargeback\bin.
2. From a command prompt, enter the following:
chargeback <operation> [<general-options>] <operation-options>
(Enter chargeback --help to see information about the options.)
For example, to see allocation usage data for April 23 with the results sent to output.xml,
enter:
chargeback get usage -S 4/23/2012 -E 4/23/2012 -o output
3. From Windows Explorer, navigate to
<IO-installation-path>\chargeback\bin\reports, where the output.xml file is
located.
142 Matrix infrastructure orchestration provisioning and allocation