5.0

Table Of Contents
Installing vFabric Platform 41
41
2. Run the desired monitoring command; see Command Reference for a table that lists all the commands along with their
required or optional parameters.
For example, run the usage-over-periods.bat 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 08/01/2011 -endDate 08/31/2011 -period WEEKLY
The output will look something like the following:
License Key,Period,Minimum Usage,Maximum Usage,Average Usage
G52D1-9FQ1K-48CLT-0CZK2-3RWJG,"Aug 1, 2011 - Aug 7, 2011",2,4,1.1
G52D1-9FQ1K-48CLT-0CZK2-3RWJG,"Aug 8, 2011 - Aug 14, 2011",2,3,0.5
G52D1-9FQ1K-48CLT-0CZK2-3RWJG,"Aug 15, 2011 - Aug 21, 2011",0,1,0
G52D1-9FQ1K-48CLT-0CZK2-3RWJG,"Aug 22, 2011 - Aug 28, 2011",0,2,0.07
G52D1-9FQ1K-48CLT-0CZK2-3RWJG,"Aug 29, 2011 - Aug 31, 2011",1,4,1.3
The output shows the minimum, maximum, and average use of a single vFabric license for each week in the month of
August, 2011. If you had installed additional vFabric licenses, then these would also show up in the report.
Another example is to view the year-to-date usage of your vFabric licenses. For example, if today is July 31, 2011:
prompt> usage-over-periods.bat -startDate 08/01/2010 -endDate 07/31/2011 -period YEARLY
The output will look something like the following:
License Key,Period,Minimum Usage,Maximum Usage,Average Usage
G52D1-9FQ1K-48CLT-0CZK2-3RWJG,"Aug 1, 2010 - July 31, 2011",50,75,30.5
Run the current-usage.bat Windows command to get a report of the current vFabric license usage.
prompt> current-usage.bat
The output will look something like the following:
License Key,Quantity Licensed,Quantity Available,Current Usage
G52D1-9FQ1K-48CLT-0CZK2-3RWJG,500,498,2
The entry shows the 500-license vFabric license key, with 498 licenses available and 2 currently in use.
To limit the report to the current usage on the myVDC datacenter, run the following:
prompt> current-usage.bat -datacenter myVDC
To view a weekly report of the number of virtual machines on a cluster called mycluster that have run the vFabric
components from March 1, 2011 to March 31, 2011, run the following monitoring command:
prompt> versions-over-periods.bat -startDate 03/01/2011 -endDate 03/31/2011 -period WEEKLY -cluster mycluster
Command Reference
Table 5.3. vFabric License Server Monitoring Commands
Monitoring
Command Description
current-usage.bat Displays the current vFabric license usage and capacity, organized by license key. By default, the command displays
information for the entire vCenter Server.
You can specify the following optional parameters to limit the reporting to a particular cluster or data center of the
vCenter Server: