licensingreport CLI command
Use this command to extract a license report that displays a list of host names used within the data collectors configured.
To understand the syntax and examples, see:
Syntax
Note
Before you run the command, note the following points:
- Set up the CLI. For more information, see Managing the product from the command line interface.
- Prefix this command with the following, as appropriate:
- For Windows: itda.bat
- For Linux: ./itda.sh
licensingreport -d <hostname> -p <portNumber> -u <username> -w <password> -f <absoluteCsvFilePath> [-i] [-s] [-l <locale>]
- Angle brackets (< >) indicate a variable value that needs to be user defined.
- Square brackets ([ ]) indicate optional parameters.
The following table describes the parameters used in the syntax:
Parameter | Description |
---|---|
-d | Host name of the Console Server. |
-p | Port number of the Console Server. |
-u | User name to use to connect with the Console Server. |
-w | Password corresponding to the user name to use to connect with the Console Server. |
-s | (Optional) Indicates an HTTPS connection. |
-f | Absolute path where you want the license report to be stored as a .csv file. |
-i | (Optional) Indicates that only unique host names will be reported in the license report. If the same host names in the short and long form (fully qualified domain name) are used in more than one data collector, then only one one them will be used for reporting in the license report. Example: If the following host names are used in the data collectors, then only one of them is reported in the license report.
|
-l | (Optional) Indicates the locale in which you want to display messages when the command is run. You can set one of the following locales:
By default, the messages are displayed in the locale of the system on which the CLI is run. The value can be set to one of the following depending on the locale you choose:
Example: If you want to set the locale as Simplified Chinese, you need to specify, |
Example input
The following example provides the input for extracting a license report from the data collectors configured on the Console Server installed on the host, HoustonHost1
:
licensingreport -d HoustonHost1 -p 9797 -u admin -w admin12345 -f C:\reports\licenseReport.csv -i
Comments
Log in or register to comment.