Page tree
Skip to end of metadata
Go to start of metadata

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:

licensingreport -d <hostname> -p <portNumber> -u <username> -w <password> -f <absoluteCsvFilePath> [-i] [-v] [-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:

ParameterDescription
-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.
-v
(Optional) Version of the IT Data Analytics product.
-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.

  • Host1
  • Host1.bmc.com
-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:

  • English
  • Simplified Chinese
  • German
  • French

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:

  • English: en
  • Simplified Chinese: chs
  • German: de
  • French: fr

Example: If you want to set the locale as Simplified Chinese, you need to specify, l=chs.

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