Monitoring Floating License Use

To find out who is currently using FME licenses from your floating license pool:

  1. Ensure the Flexera license manager utility (lmutil) is installed. This tool is installed with the floating license manager, available on the FME Downloads page. On Windows, it is installed by default in C:\Program Files\FlexServer.
  2. Create a "license file" that you will use on your computer. You can call it safe.lic, or any other name ending in .lic. It should contain the following:
  3. SERVER <IP address or name of license server> Any [optional port number]

    Example  

    SERVER 107.22.68.36 Any

    or

    SERVER license1 Any 27000

    You can use either the IP address or the name of the floating license server. We recommend using the server name because the IP address might change.

    Any is required because the license server query requires both the host name and host id. Any can be used as the hostid. If known, you can also use the MAC address of the license server.

    The port number is generally between 27000 and 27009. If you do not know what port is being used for the Safe floating license server, leave this blank, and lmutil will find it automatically. If you do specify the port, the lmstat query is much faster.

  4. Open a Command Window
  5. Use the safe.lic file to query all details using the command:

    lmutil lmstat -a -c <license file>

    Example  

    lmutil lmstat -a -c safe.lic

    This will return a lot of information. You may want to query for specific features in the license file. You can do this using a command like:

    lmutil lmstat -f FME -c safe.lic

    The -f flag specifies the feature you want reported. If you want to know who has checked out any FME feature, use -f FME. You can also look for specific license types like smallworld, oracle, esri, professional, base, and server.

    If you do not specify a license file, lmutil lmstat will query all files in its folder ending in .lic. This can be useful if you have multiple floating license servers; you can query all of them at once by having a separate .lic file for each, and then omitting the -c flag in the lmutil command.

Interpreting the output of the lmstat query

The output of lmstat -a looks similar to:

lmstat - Copyright (c) 1989-2012 Flexera SoftwareLLC. All Rights Reserved. Flexible License Manager status on Wed 02/28/2012 14:49

[Detecting lmgrd processes...]

License server status: 40000@prod

License file(s) on prod: C:\prod\i86_n3\counted.lic:

prod: license server UP v11.5

Feature usage info:

Users of f1: (Total of 4 licenses issued; Total of 1 license in use)

"f1" v1.0, vendor: demo

floating license

daniel myhost2 19.36.18.26 (v1.0) (myhost1/40000 102), start Fri 2/28 14:29

where:

Output Argument Description

daniel

user

User name.

myhost2

user_host

Host where user is running.

19.36.18.26

display

Display where user is running.

v1.0 version Version of feature.

myhost1

server_host

Host where license server is running.

40000

port

TCP/IP port on server_host where license server is running.

102

handle

License handle.

start Fri 2/28 14:29

checkout_time

Time that this license was checked out.