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 common parameters used to download reports using licstatreport are listed in the following table. Words in italics indicate variables. Brackets indicate optional entries.
-username username |
Specify the username used to log in to License Statistics. |
||
[- |
Specify the password used to log in to License Statistics with the username specified in the "-username" parameter. If this parameter is not specified, you will be prompted to enter your password when running licstatreport, which lets you specify a password without it being visible. |
||
-url hosturl |
Specify the URL for your License Statistics server (note that IPv6 is not supported). If you changed the setting for HTTP_BASE_URL in xflicstat.cfg, you must use the same value for this parameter. |
||
-report type |
Specify the type of report to download. Supported types are UsagePerFeature and UsagePerUser. |
||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="3d98ed89-0e41-42eb-b08a-014f50bcaaee"><ac:plain-text-body><![CDATA[ |
[-reportformat type] |
Specify the file type for the downloaded report. If you do not specify this parameter, the default format, CSV, will be used. (Currently, this is the only supported format.) |
]]></ac:plain-text-body></ac:structured-macro> |
[- |
The path and file name for the downloaded report. The specified directory must already exist. If the specified directory does not exist, the file will not be created and licstatreport will fail with an error message. |