User guide

Chapter 7 - License Administration Tools
lmhostid
80 FLEXnet Licensing End User Guide
See Also
“lmgrd Command-Line Syntax” for details about securing access to lmdown
“lmreread.”
FLEXNET LICENSING VERSION NOTES
•-all option introduced in the v7.0 lmdown utility.
-force option introduced in the v8.0
lmdown utility.
lmhostid
The lmhostid utility returns the FLEXnet Licensing hostid of the current platform. Invoked
without any arguments,
lmhostid displays the default hostid type for current platform.
Otherwise, the hostid corresponding to the requested type is displayed, if supported on the
current platform.
Usage is:
lmhostid [-n] [-type] [-utf8]
Where:
-n
Only the hostid, itself, is returned as a string, which is appropriate to use
with HOSTID= in the license file. Header text is suppressed.
-type One of the following hostid types.
If not specified, the default hostid for the current platform is displayed.
See Appendix A, “Expected FLEXnet Licensing Hostids,” for a list of the
default types.
-utf8
The hostid is output as a UTF-8 encoded string rather than an ASCII
string. If your hostid contains characters other than ASCII A through Z, a
through z, or 0 through 9, use this option with lmhostid. To view a correct
representation of the resulting hostid, use a utility, such as Notepad, that can
display UTF-8 encoded strings.
Platform Dependent Hostids
-ether
Ethernet address.
-string
String id.
-vsn
Volume serial number. (Windows platforms only)