Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hostid(1) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought



HOSTID(1,C)                 AIX TCP/IP User's Guide                 HOSTID(1,C)



-------------------------------------------------------------------------------
hostid



PURPOSE

Sets or prints identifier of current host system.

SYNTAX


          +--------------+
hostid ---|              |---|
          +- identifier -+


DESCRIPTION

The hostid command prints the identifier of the current host in hexadecimal.
This numeric value is expected to be unique across all hosts and is commonly
set to the host's Internet address.  The superuser can set the hostid by giving
a hexadecimal argument or the hostname.  This is usually done in a startup
script, for example, "/etc/rc." If the host is on two networks, set the hostid
to one of the ID addresses.

EXAMPLES

The hostid command returns the network address of the current host as a 32-bit
hexadecimal number.

  $ /etc/hostid
  0x491464c0

RELATED INFORMATION

gethostid, sethostid, refer to AIX Operating System Technical Reference


















Processed October 29, 1990        HOSTID(1,C)                                 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026