OS: Linux, Windows
(FlexNet) Reports the host identification (host ID) number of a system.
lmutil lmhostid [-n] [type] [-utf8]
Returns as a string only the host ID itself, which is appropriate to use with HOSTID= in the license file. The switch suppresses the header text.
Specifies the host ID type. The default is the host ID for the current platform.
Valid host ID types are the following:
-ether — Ethernet address.
-flexid — Parallel or USB FLEXid hardware key identification. This applies only to platforms that support FLEXid hardware keys.
Returns the host ID as a UTF-8 encoded string rather than as an ASCII string. Use this option if your host ID contains characters other than ASCII A through Z, a through z, or 0 through 9. To view a correct representation of the resulting host ID, use a text editor program that can display UTF-8 encoded strings.
The following requests the host identification number of the system and shows an example of the type of output you receive.
lmutil lmhostid
lmutil - Copyright (c) 1989-2018 Flexera. All Rights Reserved.
The FlexNet host ID of this machine is "0020afe6112a"