lmhostid(1)
NAME
lmhostid − report the hostid of a system
SYNOPSIS
lmhostid [ ether ]
DESCRIPTION
lmhostid calls the FLEXlm version of gethostid and displays the results. NOTE: In FLEXlm v2.4 and later, lmhostid is either a link or a copy of the lmutil program.
The output of lmhostid looks like this:
lmhostid - Copyright (C) 1989, 1990 Highland Software, Inc.
The FLEXlm host ID of this machine is "1200abcd"
OPTIONS
ether (only on HP machines) specifies that the ethernet hostid should be used rather than the external ID module.
long (on HP and SCO machines) On HP, specifies that the HP ID-Module should be used for a hostid. This is a 10 character decimal number, and is used by FLEXlm as a 32-bit long int. On SCO, this specifies that the serial number should have leading characters stripped, and converted to a 32-bit long int.
uname
(on HP systems only) returns the machine id from uname -i, and stores the id as a 32-bit long int.
string (on SCO systems only) uses the ’Serial = ’ field from uname -X, and stores this as a string, and is the default for SCO.
HOSTID
Here’s how to determine the hostid on many support systems.
ArchitectureHost ID How to Determine
______________________________________________________________________
Apollo20-bit node ID lcnode -me, e.g., BE70
Convex32-bit hostid getsysinfo
Decstationethernet address arp hostname, e.g., 080020005532
DG aviion32-bit hostid /usr/sbin/systemid, e.g., 0c020972
HP32-bit dec hostid uname -i, e.g., 2005771344
id module read ID typed on module, remove ‘A’,
and convert remainder to hex,
e.g.,0c127532
ethernet lanscan (use station address
without leading 0x),
e.g., 0000F0050185
Mips32-bit hostid hwconf
Motorola 88K32-bit hostid lmhostid
NeXT32-bit hostid hostid
RS/600032-bit hostid uname -m, remove last 2 digits,
use remaining last 8 digits
e.g., 12345678
SCO"ID_STRING=" uname -X, ’Serial =’, e.g., sco003514
32-bit hostid same, but remove leading characters,
e.g., 3514
SGI32-bit hostid echo ‘/etc/sysinfo -s‘ 16o p | dc
SUN32-bit hostid hostid, e.g., 170a3472
VMSethernet arp hostname, e.g., 080020005532
SEE ALSO
FLEXlm V2 — Last change: 19 January 1993