lmremove(1)
NAME
lmremove − remove specific licenses and return them to license pool
SYNOPSIS
lmremove −c license_file feature user host display
lmremove −c license_file -h feature host port handle
DESCRIPTION
lmremove allows you to remove a single user’s license for a specified feature. This is only needed when a client node crashes, since that is the only condition where a license is not automatically freed. If the application is active, it will check out the license again after it is freed by lmremove.
You must be a superuser or a designated user through the adjust_flexlm_owner script to use the lmremove utility. The lmremove utility is located in /etc/opt/licenses.
PARAMETERS
There are two modes for lmremove. In the first mode, lmremove removes all instances of user on host on display from usage of feature. These parameters should be entered exactly as they are displayed by lmstat -a. In the second mode, the -h option indicates removal by handle number and uses the host, port, and license handle reported by lmstat -a. When removing by handle, if licenses are grouped as duplicates, all duplicate licenses will also be removed. The host, port, and handle appear together in parentheses in lmstat -a output:
joe cloud7 /dev/ttyp5 (v1.000) (cloud9/7654 102), start Fri 10/29 18:40
In the above example, cloud9 is the host, 7654 is the port, 102 is the handle, and /dev/ttyp5 is the display. To remove the license in this example, type one of the following commands:
lmremove f1 joe cloud7 /dev/ttyp5
or
lmremove -h f1 cloud9 7654 102
OPTIONS
−c license_file
Specified license_file.
feature Name of the feature checked out by the user.
user Name of the user whose license you are removing (from lmstat -a output).
host Name of the host the user is logged in to (from lmstat -a output).
display Name of the display where the user is working (from lmstat -a output).
port The port as described in the PARAMETERS section (from lmstat -a output).
handle The license handle as described in the PARAMETERS section (from lmstat -a output).
-h Indicates removal by handle number.
SEE ALSO
lmstat(1), adjust_flexlm_owner(1).
FLEXlm V6.1 — Last change: 20 August 1998