List licenses in use (QNX)
licinfo [options...]
The licinfo utility will write information pertaining to the on-line software licenses to the standard output.
You must be logged in as root to use licinfo. |
The output format of licinfo depends on the options supplied. By default, it displays information by product (in no particular order) in the following format:
but when -N is given, the output is displayed by node, each entry in the format:
By default, output is listed for licenses used by any/all nodes on the network. If the -n node option is specified, only licenses in use by that node are listed. Normally, licenses will be listed only if at least one is in use. If the -a option is given, all available licenses will be listed even if none are currently in use.
Note that node licenses for the operating system itself are not counted as "in use" and do not appear unless the -a option is specified. You can also see the number of OS licenses by examining the "Nodes" value returned by sin info.
Show all licenses in use:
licinfo
Show all C compiler licenses in use:
licinfo -l wcc
The results of the license query are written to the standard output. If errors occur and -v is specified, a diagnostic message is written to the standard error. The standard input is not used.