You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

The LM-X End-user utility lets you get the hostid values for the computer system. For machine-locked licenses, application vendors will use hostid values to create licenses specifically for your system. The LM-X End-user utility also lets you:

  • See who is currently using specific licenses on the license server, and see the borrow, grace and trial licenses currently checked out
  • Remotely access the license server
  • Remove users from the license server
  • Read and verify a usage database and print the usage information to the screen
  • Activate a license

The LM-X End-user utility may be run by any user; you do not need administrator privileges to run the utility. The lmxendutil command usage is as follows. Optional parameters are enclosed in square brackets ( [ ] ). Variables are shown in italic text.

Command

Syntax

Description

-hostid

lmxendutil -hostid

Displays hostid values of your computer system.

-licstat

lmxendutil -licstat [-host

host -port port -network-borrow -grace -trial]

Displays statistics and lists which users are currently using which licenses on a specific license server, and the borrow, grace and trial licenses currently checked out.

See below for descriptions of optional parameters -host and -port.

Information for all options is returned unless one or more options are specified (for example, specifying -borrow will result in only borrow information being returned).

-licstatxml

lmxendutil -licstatxml [-host

host -port port -network -borrow -grace -trial]

Displays statistics and lists currently used licenses on a specific license server as XML.
See below for descriptions of optional parameters -host and -port.

Information for all options is returned unless one or more options are specified (for example, specifying -borrow will result in only borrow information being returned).

-restartserver

lmxendutil -restartserver [-host

host -port port -password password]

Remotely restarts the license server.
See below for descriptions of optional parameters -host, -port and -password.

-shutdownserver

lmxendutil -shutdownserver [-host

host -port port -password password ]

Remotely shuts down the license server.
See below for descriptions of optional parameters -host, -port and -password.

-removeuser

lmxendutil -removeuser -clientusername username -clienthostname host

[-host

host -port port-password password]

Removes a user from the license server. Parameter descriptions are as follows:

-clientusername username Removes a user with the specified username.
-clienthostname host Removes a user at the specified hostname.

See below for descriptions of optional parameters -host, -port and -password.

-host

-host host

Optional parameter that connects to the specified license server host. If you do not enter this optional parameter, the local host is used.

-port

-port port

Optional parameter that connects to license server on port 'myport'. If you do not enter this optional parameter, the default port is used.

-password

-password password

Optional parameter that uses the specified password. If you do not use this optional parameter explicitly, you will be prompted for the password (in this case, the password you enter is not displayed on the screen as you type). 

-readusagedb

lmxendutil -readusagedb usage.db

Reads the specified usage database and performs a verification, then prints the usage information to the screen. (See Pay Per Use.)

-activate

lmxendutil -activate -orderid order -url url

[-output

output_file -hostid type=value,... -proxyhost host -proxyport port -proxyuser username -proxypassword password]

Activates a license from a specified License Distribution Service URL using the Ethernet hostid of the current machine. Parameter descriptions are as follows:

-orderid orderid The Order ID provided by the application vendor, with the format AAAAA-BBBBB-CCCCC-DDDDD.

-url url The activation URL provided by your application vendor, such as http://licservice.company.com.

Optional parameters:

-output output_file
Specifies the name of the output file that will contain the  activated license. By default, this filename is named license-current_date.lic and is saved to the current directory. Note that you should save the license to the location recommended by your application vendor.

-hostid type=value,...
Specifies the hostid of the machine used to activate the license. By default, the Ethernet hostid of the current machine is used.

This default can be overridden to perform offline activations for other machines by specifying one or more hostids, which may be of the same or different types. For example, -hostid LONG=11223344556677,ETHERNET=AABB1122CCDD3344,...

Valid hostid types are: LONG, USERNAME, IPADDRESS, CUSTOM, DONGLE_HASPHL, ETHERNET, HOSTNAME, HARDDISK and WIN_PRODUCT_ID.

-proxyhost hostSpecifies the web-proxy hostname required to access the web.
-proxyport portSpecifies the web-proxy port associated with the proxy hostname.
-proxyuser usernameSpecifies the web-proxy user name.
-proxypassword passwordSpecifies the web-proxy user password.

  • No labels