lmstat

OS: Linux, Windows

(FlexNet) Reports the status of all network licensing activities, including license files, daemons that are running, users of individual features, and users of features served by a specific vendor daemon.

Syntax

lmutil lmstat [-a] [-c {license_file | port@host}] [-f [feature_name]] [-i [feature_name]] [-S [DAEMON]] [-s [server_name]] [-t timeout_value] [-v] [-help]

Arguments

-a

Displays all information.

-c {license_file | port@host}

Uses the specified license file, which is the full path to the license file, or uses the license server port (port@host). If you specify more than one component, you must separate each with a colon in Linux or a semicolon in Windows.

-f [feature_name]

Displays all users of the specified feature. If you do not specify a feature, the command displays all usage information for all features.

-i [feature_name]

Displays information from the INCREMENT line for the specified feature. If you do not specify a feature, the command displays information for all features.

-S [DAEMON]

Lists all users of the specified daemon’s features. If you do not specify a daemon, the command lists all users of all daemon’s features.

-s [server_name]

Displays the status of all license files on the specified server. If you do not specify a server name, the command displays this status for all servers.

-t timeout_value

Sets the connection timeout to the specified value. This limits the amount of time lmstat spends attempting to connect to the specified server(s).

-v

Displays the FLEXlm version, revision, and patch.

-help

Displays the usage information.

Description

The lmstat command provides information about the status of server systems, vendor daemons, or features and displays information received from the license server. The lmstat command does not provide information about the following:

  • Unserved licenses

  • Queued users

  • Licenses shared due to duplicate grouping

To report on an uncounted license, the license must be added to a served license file and the application must be directed to use the license server for that license file (via @host, port@host or USE_SERVER).

Examples

The following example shows the results of using lmstat without any arguments; the system returns only the status and version information.

lmutil lmstat

lmstat - Copyright (c) 1989-2013 by Flexera Software LLC. All Rights Reserved.
Flexible License Manager status on Fri 06/05/2015 10:39 
License server status: 1700@mgcsrvr
    License file(s) on mgcsrvr: /usr1/mgc/mgc.licenses: 
mgcsrvr: license server UP (MASTER) v11.11 
Vendor daemon status (on mgcsrvr): 
    mgcld: UP v11.11

The following example shows the results of using lmstat to request a list of all users of the calibredrc feature.

lmutil lmstat -f calibredrc

lmstat - Copyright (c) 1989-2013 by Flexera Software LLC. All Rights Reserved. 
Flexible License Manager status on Fri 06/05/2015 10:42 
Users of calibredrc: (Total of 2 licenses issued; Total of 1 license in use)
   "calibredrc" v2014.08, vendor: mgcld
   floating license
      macd myhost myhost (v2014.08) (mgcsrvr/1700 102), start Fri 06/05 10:42

The following example shows the results of using lmstat to request the status of all network licensing activities.

CAUTION:

Be aware that lmstat -a generates a large amount of network activity.

lmutil lmstat -a

lmstat - Copyright (c) 1989-2013 by Flexera Software LLC. All Rights Reserved.
Flexible License Manager status on Fri 06/05/2015 10:45
License server status: 1700@mgcsrvr
   License file(s) on mgcsrvr: /usr1/mgc/mgc.licenses: 
mgcsrvr: license server UP (MASTER) v11.11
Vendor daemon status (on mgcsrvr):
   mgcld: UP v11.11
Feature usage info:
Users of calibredrc: (Total of 2 licenses issued; Total of 1 license in use)
   "calibredrc" v2014.08, vendor: mgcld
   floating license
      macd myhost myhost (v2014.08) (mgcsrvr/1700 102), start Fri 06/05 10:42
Users of msimhdlmix: (Total of 2 licenses issued; Total of 0 licenses in use)