Enhanced Support Facility 2.6 User's Guide
Contents Index PreviousNext

Part 4 Common Base Facility> Chapter 12 License Manager

12.6 Command Reference

lmstat(1M)

NAME

lmstat - Displays the status of the license monitoring daemon and the feature activities

SYNOPSIS

/etc/opt/FSUNlicense/bin/lmstat -c lic-file [-a][-A][-f [feature]][-S [DAEMON]] \

[-s [server_name]] [-t timeout_value].

DESCRIPTION

lmstat returns the status information of the license daemon user.

OPTIONS

The following options are available:

-c
Specifies the license file name that you are using in lic-file.
-a
Displays all information.
-A
Displays active licenses.
-f [feature]
Displays users of feature.
-S [DAEMON]
Displays all users of DAEMON's features.
-s [server_name]
Displays the status of the specified server.
-t timeout_value
Sets a timeout interval to timeout-value, in seconds.

EXAMPLES

/etc/opt/FSUNlicense/bin/lmstat -c `cat /etc/opt/FSUNlicense/FSUN_LICENSE_FILE` -a

The in use license file names are stored in /etc/opt/FSUNlicense/FSUN_LICENSE_FILE file.
(See "12.4 Setting of the License Password.")

EXIT STATUS

This command returns the following values:

0
Ended normally
Other than 0
Error

lmremove(1M)

NAME

lmremove - Deletes a specified license and returns to a license pool

SYNOPSIS

/etc/opt/FSUNlicense/bin/lmremove [-c lic-file] feature user host display

DESCRIPTION

lmremove deletes a specified user's license for a specified feature. If the machine in which a user runs an application crashes, the user license may be disabled.

lmremove causes that this user's license can be returned to the license pool.

OPTIONS

The following options are available:

-c
Specifies the license file name that you are using in the parameter "lic-file."
feature
Specifies feature name of the license that you are deleting.
user
Specifies the user name whose license you are deleting.
host
Specifies the host name of the license that you are deleting.
display
Specifies the display name of the license that you are deleting.

EXAMPLES

/etc/opt/FSUNlicense/bin/lmremove -c `cat /etc/opt/FSUNlicense/FSUN_LICENSE_FILE` \
feature username hostname ttyname

The in use license file names are stored in /etc/opt/FSUNlicense/FSUN_LICENSE_FILE file.
(See "12.4 Setting of the License Password.")

The feature name, user name, host name, and display name must be obtained by the output of lmstat-a.

EXIT STATUS

This command returns the following values:

0
Ended normally
Other than 0
Error

lmreread(1M)

NAME

lmreread - Signals to the license daemon for rereading the license file

SYNOPSIS

/etc/opt/FSUNlicense/bin/lmreread -c lic-file

DESCRIPTION

lmreread controls the license daemon that rereads the license file. If the contents in the license file are changed, it will be read by lmreread. In that case, it is not necessary to restart the license daemon. Note that lmreread cannot be used to change server node names or port numbers. The license daemon must be stopped and restarted.

OPTIONS

The following options are available:

-c
Specifies the license file name that you are using in the parameter "lic-file."

EXAMPLES

/etc/opt/FSUNlicense/bin/lmreread -c `cat /etc/opt/FSUNlicense/FSUN_LICENSE_FILE`

The in use license file names are stored in /etc/opt/FSUNlicense/FSUN_LICENSE_FILE file.
(See "12.4 Setting of the License Password.")

EXIT STATUS

This command returns the following values:

0
Ended normally
Other than 0
Error

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2005