Using the End User Utility

The LM-X End User Utillity is a command line tool for querying and controlling the license server. The relevant commands are described below.

In all the commands the arguments enclosed in angle-brackets < and > must be replaced an actual argument. If you are running the End User Utility on the same machine as the server and on the standard port (6200) you can omit the -host and -port options from the commands.

If you omit the -password option from the command, you will be prompted for it when executing the command. An additional advantage of entering your password in this way is that a person standing next to will not be able to read it.

To display the current status of the license server use the command:

lmxendutil -licstat -host <server host> -port <port>

Getting users to shut down their software and thereby release licenses back into the pool relies on communicating the importance of this to the users. The

lmxendutil
command using the
-licstat
option returns a listing of licenses in use, including the user and host name, and date and time a license was checked out. This can be helpful in in identifying people who may be unaware of the impact of leaving the Workbench running when not in use.

To remove a user from the license server checked out for a particular user, use the command:

 lmxendutil -removeuser -clientusername <user>
-clienthostname <host> -host <host>
           -port <port> -password <password>

This command removes the license from the user on the system you specify. However, please note that if their Workbench is running at the time, as it would be in most cases, this momentarily unlicensed Workbench will immediately re-contact the License Server and thus will almost always get another license right away. Thus this command will not help in removing users who have left their Workbench running and are no longer actively using it.