...
For an LM-X license server, type the command:
lmxendutil -licstatxml [-host host -port port]
where host and port are the host and port appropriate for your license server. The host and port designations are optional. If the host information is omitted, the local host is used; if the port information is omitted, the default port is used.
...
For a FLEXlm/FlexNet license server, type the command:
lmutil lmstat -a -c [port]@host [-S vendor]
lmutil lmdiag -n -c [port]@host
where port and host are the port and host appropriate for your license server, and vendor is the vendor daemon's name (this name is case-sensitive by FlexNet's default license server configuration). The port designation is optional; if it is omitted, the default port is used. Specifying the vendor is also optional.
...
For an RLM license server, type the command:
rlmutil rlmstat -a -c [port]@host
where port and host are the port and host appropriate for your license server. The port designation is optional; if it is omitted, the default port is used.
...
For a Sentinel LM/RMS license server, type the command:
lsmon [host]
where host is the host appropriate for your license server. The host designation is optional; if it is omitted, the local host is used.
...
For an IBM LUM license server, type the command
i4blt -s -lc -k -n host
i4blt -s -lco -k -n host
i4blt -ll -k -n host
Or, for a cluster configuration:
i4blt -s -lc -k -n "host1 host2 host3"
i4blt -s -lco -k -n "host1 host2 host3"
i4blt -ll -k -n "host1 host2 host3"
where host is the host appropriate for your license server.
...
- Create a text file named file.txt.
- Add the following four lines to file.txt:
c host port
gli
d
q
where host and port are the host and port appropriate for your license server.
- Run the command:
dslicsrv -admin -i file.txt
To get information about users who are using licenses:
- Create a text file named file2.txt.
- Add the following four lines to file2.txt:
c host port
glu -all
d
q
where host and port are the host and port appropriate for your license server.
- Run the command:
dslicsrv -admin -i file2.txt
Realtime usage error
If a monitored license server is hosted on a different machine than License Statistics is installed on, the license server's response to License Statistics' query about its status may be delayed. In such cases, a warning such as the following occurs for each query that was delayed.
[2012/05/10 08:00:00] WARNING: Capturing realtime usage for license server hostname was delayed xx seconds. This delay may cause loss of statistics!
To resolve this problem, verify that the license server is responding properly as described above in "Inability to query license server."
Failure to
...
When trying to install a FLEXlm v9.2 application (for example, ESRI ArcGis) on Windows Vista, FLEXlm may fail when starting the license server. This failure can occur regardless whether UAC is enabled or disabled.
...
@echo off
cmdow @ /hid
cd "c:\program files\esri\license\arcgis9x"
lmgrd -z -c license.lic
Failure to find licenses for FlexNet license server
FlexNet vendor names are case-sensitive by default, so you may see the following error if the case is not correctly configured:
[2012/05/10 08:00:00] ERROR: Unable to find any licenses served by the license server!
Check that the vendor name entry in the xflicstat.cfg configuration file for that license server is specified in the correct case. You can verify the correctness of the configuration by querying the status of the server manually:
lmutil.exe lmstat -a -c hostname -S VendorName
Failure to gather data for FlexNet license server hosting multiple vendors
...
To configure the FlexNet server correctly for multiple vendor daemons, specify each as a separate license server in the FLEXNET_SERVER setting in the License Statistics configuration file. For example, if you want to monitor vendor daemons "vendor1" and "vendor2" on "server1" you must use a FLEXNET_SERVER setting for each of them, as follows:
FLEXNET_SERVER = vendor1@port@server1
FLEXNET_SERVER = vendor2@port@server1
Or, for HAL (redundant) servers:
FLEXNET_SERVER = vendor1@port@server1 vendor1@port@server2 vendor1@port@server3
vendor2@port@server1 vendor2@port@server2 vendor2@port@server3
FLEXNET_SERVER =
...
If there is a problem with the output produced by the lmutil lmdiag command, you will see the following message in the log:
"Output of the lmutil lmdiag command is incomplete, which can cause incorrect or incomplete data in License Statistics. Please ensure that your license server is able to correctly print out the lmdiag output."
This message indicates that some or all features included in lmstat output are not described in lmdiag, so License Statistics data may be inaccurate. If a specific feature in the lmstat output does not have any users described and lmdiag does not contain any information about this feature, License Statistics creates the feature as a floating type. In addition, a feature that is not described in lmdiag has no expiration date set.
This issue occurs mainly with the SW_D vendor daemon and may indicate that the vendor's configuration doesn't allow printing out required data. This problem may be unresolvable if you are unable to change the license server configuration.
Failure to start FLEXlm license server on Windows Vista
When trying to install a FLEXlm v9.2 application (for example, ESRI ArcGis) on Windows Vista, FLEXlm may fail when starting the license server. This failure can occur regardless whether UAC is enabled or disabled.
FLEXlm v9.2 was available long before Windows Vista, so it was not possible to test for all conditions that might occur on Windows Vista.
To fix this problem, update to a more recent version of FLEXlm through your application vendor. As an alternative workaround, you can run the license server as a background process using a batch script, such as the following:
@echo off
cmdow @ /hid
cd "c:\program files\esri\license\arcgis9x"
lmgrd -z -c license.lic
Unidentifiable usernames in lmutil output
...