[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 1

chlicense Command

Purpose

Changes the number of fixed licenses and the status of the floating licensing of the system.

Syntax

chlicense [ [ -D | -I ] -u FixedUsers] ] [ [ -v ] -f FloatingStatus ]

Note
At least one flag must be specified with the chlicense command.

Description

There are two types of user licensing: fixed and floating. Fixed licensing is always enabled and the number of licenses can be changed using -u flag of the chlicense command. Floating licensing is enabled or disabled using the -f flag.

Flags

Note
At least one flag must be specified with the chlicense command.
-D The -D flag causes the new fixed-license value to be updated in the login.cfg file only. This is the option if the -I flag is not issued.
-f FloatingStatus Changes the status of the floating licensing of the system. The status must be either on or off. The status of on enables the floating licensing and off disables the floating licensing. The -f flag is optional.
-I The -I flag causes the chlicense command to modify the current value of the fixed-license counting semaphore, in addition to modifying the value in the login.cfg file.
-u FixedUser Changes the number of fixed licenses on a system. The value of FixedUser must be a number greater than 0. The -u flag is optional.

Examples

  1. To enable the floating licensing for the system, enter:

    chlicense -f on
  2. To disable the floating licensing for the system, enter:

    chlicense -f off
  3. To change the number of fixed licenses to 125 and to enable floating licensing on the system, enter:

    chlicense -u 125 -f on
  4. To immediatly increase the number of fixed licenses to 5, enter:
    chlicense -I -u 5

Related Information

The lslicense and monitord daemon.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]