lslicense Command
Purpose
Displays the number of fixed licenses and the status of the floating licensing.
Syntax
Description
The lslicense command displays the number of fixed licenses and the status of the floating licensing.
Flags
Item | Description |
---|---|
-A | The -A flag causes the lslicense command to report the current number of available fixed licenses. When the -A flag is not specified, the maximum number of fixed licenses and license status is reported. |
-c | Displays the output in : (colon) form. |
Security
Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged
operations. For more information about authorizations and privileges, see Privileged Command
Database in Security. For a list of privileges and the
authorizations associated with this command, see the lssecattr command or the
getcmdattr subcommand.
Examples
- To display the number
of fixed licenses and the floating license status, enter:
Example output would be:lslicense
Maximum number of fixed licenses is 10. Floating licensing is enabled.
- To display the number
of fixed licenses and the floating license status in a colon format,
enter: lslicense -cExample output would be:
#fixed:floating 10:on
- To display license information including the number of available
fixed licenses, enter:
Output similar to the following will display:lslicense -A
Maximum number of fixed licenses is 2. Floating licensing is disabled. Number of available fixed licenses is 2.