Utility - agentLicenseUsageReportByRelativeDateRange
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 :
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.
Number of days/months/years
The following example shows how to use this command to obtain a pair of reports for the last month.
blcli Utility agentLicenseUsageReportByRelativeDateRange /mydir/report 1 month
The following example shows how to use this command to obtain a pair of reports for the last 2 years.
blcli Utility agentLicenseUsageReportByRelativeDateRange /mydir/report 2 years
For examples of output reports, see Evaluating license and product usage trends.