Sun SPARCstation
Your host ID is an 8-digit hexadecimal number.
Type the following command at a UNIX prompt for SunOS 4.1.3 and lower:
/usr/bin/hostid
Type the following command at a UNIX prompt for Solaris 2.5 and later:
/usr/ucb/hostid
HP 9000 Series 700/800
Type the following command at a UNIX prompt:
/usr/bin/uname -i
Transpose the resulting value into hexadecimal format, and use that value as the host ID.
IBM RS/6000
Type the following command at a UNIX prompt:
/usr/bin/uname -m
You will receive a 12-digit number. Remove the first 2 digits and the last 2 digits; the host id is the middle 8 digits. For example, the number 000276513100
converts to the host id 02765131
.
![]() | Refer to the documentation for you operating system, or contact your system administrator for more details about these commands. |