You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

The information on this page refers to License Statistics v4.0 or newer, which added the command-line report utility. Previous versions of License Statistics do not include this utility.

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.

Example

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

  • No labels