5.2

Table Of Contents
40 vFabric Suite
40 Monitoring vFabric License Usage
Syntax
versions-over-periods.bat {-days days | range} [-group group | -cluster name | -datacenter name | -resourcePool name ] [-period period]
The following table lists the options for this command.
Table 6.4. Options of usage-over-periods.bat
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 the -startDate and -endDate or the -days option, but not both.
-group group Groups the output of the versions-over-periods.bat 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
Displays periodic component version information for the specified cluster.
You can specify only one of the following options: -group, -cluster, -datacenter, or -resourcePool.
-datacenter
datacenter-name
Displays periodic component version information for the specified virtual data center.
You can specify only one of the following options: -group, -cluster, -datacenter, or -resourcePool.
-resourcePool
resourcePool-name
Displays periodic component version 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. Valid values are:
DAILY
WEEKLY
MONTHLY
QUARTERLY (90 days)
YEARLY
ALL
Default value is DAILY.
Example
The following example shows how to view a monthly report of the number of virtual machines that have run the vFabric
components from September 1, 2012 to October 04, 2012: