lslicense Command

Purpose

Displays the number of fixed licenses and the status of the floating licensing.

Syntax

lslicense [ -A ] [ -c ]

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 AIX® Version 7.1 Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Examples

  1. To display the number of fixed licenses and the floating license status, enter:
    lslicense
    Example output would be:
    Maximum number of fixed licenses is 10.
    Floating licensing is enabled.
  2. To display the number of fixed licenses and the floating license status in a colon format, enter:

    lslicense  -c

    Example output would be:
    #fixed:floating
    10:on
  3. To display license information including the number of available fixed licenses, enter:
    lslicense -A
    Output similar to the following will display:
       Maximum number of fixed licenses is 2.
       Floating licensing is disabled.
       Number of available fixed licenses is 2.