lmstat(1)

lmstat(1)

NAME

lmstat - report status on license manager daemons and feature usage

SYNOPSIS

lmstat [ -a ] [ -A ] [ -c license_file ] [ -i [feature] ] [ -f [feature]
] [ -s [server] ] [ -S [DAEMON] ]

DESCRIPTION

lmstat provides information about the status of the server nodes, vendor daemons, vendor features, and users of each feature. Information can be optionally be qualified by specific server nodes, vendor daemons, or features.

OPTIONS

-a Display everything.

-A List all active licenses.

-c license_file
Use the specified license_file. If this switch is not specified, lmstat looks for the environment variable LM_LICENSE_FILE. If that environment variable is not set, lmstat looks for the file /usr/local/flexlm/licenses/license.dat.

-i [feature]
Prints information about the named feature, or all features if no feature name is given. Note that lmstat -i does not communicate with the server, and therefore reports raw data from the license file, which may differ from what the server actually supports. -f [feature] List all users of the specified feature(s).

-s [server]
Display the status of the specified server node(s).

-S [daemon]
List all users of the specified daemon’s features.

ENVIRONMENT

If no -c option is specified, lmstat looks for the environment variable LM_LICENSE_FILE in order to find the license file to use. If that environment variable is not set, lmstat looks for the file /usr/local/flexlm/licenses/license.dat.

NOTES

lmstat -a is a potentially expensive command. With lots of active users, this call can generate a lot of network activity, and therefore shouldn’t be used too often. In particular, avoid writing scripts that automatically call lmstat often.

UNIX systems typically install licenses in /var/flexlm/license.dat, not in /usr/local/flexlm/licenses/license.dat.

Note that XLV Plex licenses should be placed in /etc/flexlm/license.dat if /var is not in the root partition and the license is needed to boot from a plexed root partition.

SEE ALSO

lmgrd(1), lmutil(1).

> Partager <