Utility - agentLicenseUsageReportByRelativeDateRange


Utility - agentLicenseUsageReportByRelativeDateRange

Description :

This command generates a summary report and a detailed report that list the number of active agents and the kinds of jobs performed on these agents within a specified relative date range. For example, you can request a pair of reports for the last n number of days, months, or years. The reports are in CSV format.

Return type : java.lang.Void

Command Input :

Variable Name

Variable Type

Description

reportFilePath

String

The path to the location where you want to write the CSV report files, and (at the end of the path) a prefix for the names of the reports. The report names always end with _summary.csv and _details.csv.

For example, if you specify /tmp/report, then the following two reports will be stored in the /tmp directory: report_summary.csv and report_details.csv.

Ensure that the specified path exists on the machine where NSH is invoked.

relativeRangeValue

String

Number of days/months/years

daysMonthsOrYears

String

day(s)/month(s)/year(s).

Examples :

Example

The following example shows how to use this command to obtain a pair of reports for the last month.

Script

blcli Utility agentLicenseUsageReportByRelativeDateRange /mydir/report 1 month

Example

The following example shows how to use this command to obtain a pair of reports for the last 2 years.

Script

blcli Utility agentLicenseUsageReportByRelativeDateRange /mydir/report 2 years

For examples of output reports, see Evaluating license and product usage trends.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*