This page refers to functionality that has been removed from License Statistics. The licstatreport utility is no longer supported as of License Statistics v4.10. If you are using a previous version of License Statistics, see documentation for versions 4.0 to 4.9.

The syntax for downloading a Usage Per User report using licstatreport is as follows. (Also see Syntax for common parameters.) 

-servername name

Specify the name of the license server for which the report will be generated.

-vendorname name

Specify the name of the vendor for which the report will be generated.

-licmanagertype type

Specify the type of license manager for which the report wil be generated. (See Using the command-line report utility for supported types.)

[-feature name]

Specify the name of the feature for which the report will be generated. If a feature is not specified, data for all features for the specified server will be downloaded.

-datefrom date

Specify the start date for which the report will be generated in YYYY-MM-DD format; for example, 2011-02-28.

-dateto date

Specify the end date for which the report will be generated in YYYY-MM-DD format; for example, 2011-02-28.

[-aggregateby type]

Specify the type of aggregation to use for the report. If the aggregation type is not specified, the report will be aggregated by Username. Available options are: 

  • Username
  • Hostname
  • Username and hostname
  • Usergroup
  • Hostgroup

[-usergroup name]

Specify the name of the usergroup for which the report will be generated. If the usergroup is not specified, no usergroup will be used.

[-hostgroup name]

Specify the name of the hostgroup for which the report will be generated. If the hostgroup is not specified, no hostgroup will be used.

Examples

Example 1

The following example downloads a Usage Per User report to a file named "report.csv," which will contain data for server "server2" and vendor "cdslmd." The license manager type is FlexNet; therefore, the "feature" parameter is not specified and data for all features for the specified license server will be downloaded. The data range is from 1 April 2011 to 30 April 2011. In this example, the password is not specified, so the user will be prompted to enter the password after running the command.

licstatreport -username username -url http://license-statistics -report UsagePerUser -output report.csv -servername server2 -vendorname cdslmd -licmanagertype FlexNet -datefrom 2011-04-01 -dateto 2011-04-30

Example 2

You can run the following example on the License Statistics demo site at http://licstat-demo.x-formation.com. This example downloads a Usage Per User report to a file named "report.csv," which will contain data for the feature "plist" on server "server1" for vendor "adskflex." The date range is from 1 April 2011 to 30 April 2011. Again, the password is not specified, so enter "demo" as the password when prompted.

licstatreport -username demo -url http://licstat-demo.x-formation.com -report UsagePerUser -output report.csv -servername server1 -vendorname adskflex -licmanagertype FlexNet -datefrom 2011-04-01 -dateto 2011-04-30 -feature plist

  • No labels