5.3

Table Of Contents
Monitoring vFabric License Usage 41
41
The following table lists the options for this command.
Table 6.3. Options of usage-over-periods
Option Description
-days number Specifies a date range in which the end date is today and the start date is the current date minus number of days.
For example, use -days 90 to specify an approximate date range of the last three months.
You must specify either the -days option or the two options to specify a custom data range (-startDate and -
endDate), but not both.
-startDate MM/DD/
YYYY
-endDate MM/DD/YYYY
Used together, these two options specify a custom date range. Use -startDate to specify the start date of
the report; use the form MM/DD/YYYY, such as 06/01/2012 for a start date of June 1, 2012. Use -endDate to
specify the end date of the report.
For example, to specify a date range between April 1, 2012 and June 30, 2012, use the following: -startDate
04/01/2012 -endDate 06/30/2012.
You must specify either -startDate and -endDate or the -days option, but not both.
-group group (vSphere Environment Only) Groups the output of the usage-over-periods command by cluster, resource
pool, or data center. The output will list the specific cluster, resource pool, or data center for each license usage
entry.
Possible values (specify only one):
cluster
resourcePool
datacenter
For example, to group by resource pool, specify -group resourcePool.
You can specify only one of the following options: -group, -cluster, -datacenter, or -resourcePool.
-cluster cluster-
name
(vSphere Environment Only) Displays periodic usage information for the specified cluster.
You can specify only one of the following options: -group, -cluster, -datacenter, or -resourcePool.
-datacenter
datacenter-name
(vSphere Environment Only) Displays periodic usage information for the specified virtual data center.
You can specify only one of the following options: -group, -cluster, -datacenter, or -resourcePool.
-resourcePool
resourcePool-name
(vSphere Environment Only) Displays periodic usage information for the specified resource pool.
You can specify only one of the following options: -group, -cluster, -datacenter, or -resourcePool.
-period period Specifies the period that the report covers, such as daily or monthly, during the specified date range (see previous
two entries). Valid values are:
DAILY
WEEKLY
MONTHLY
QUARTERLY (90 days)
YEARLY
ALL
Default value is DAILY.
Example
The following example shows how to run the usage-over-periods command to display vFabric license usage over a period
of time. You must specify the start and end dates of the time period, as well as the period, such as monthly or yearly.
prompt> usage-over-periods.bat -startDate 09/01/2012 -endDate 09/30/2012 -period WEEKLY