[Previous] [Contents] [Next]

licinfo

List licenses in use (QNX)

Syntax:

licinfo [options...]

Options:

-a
List all licenses even if none are in use.
-n node
Check licenses in use on this node only.
-N
Display output by node rather than by license.
-l license
("el") Check nodes with this license only.
-v
Be verbose about any failures to obtain information.

Description:

The licinfo utility will write information pertaining to the on-line software licenses to the standard output.


Note: 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.

Examples:

Show all licenses in use:

    licinfo

Show all C compiler licenses in use:

    licinfo -l wcc

Files:

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.

Exit status:

>0
An error occurred.
0
The license information was successfully reported.

See also:

license

Installation & Configuration


[Previous] [Contents] [Next]