hostid(1)

NAME
hostid - set or print system's host id.

SYNTAX
hostid [identifier]

DESCRIPTION
The command prints the current host id number in decimal (and hexadecimal in parenthesis). This numeric value is expected to be unique across all hosts and is normally set to resemble the host's Internet address. Only the super-user can set the hostid by giving an argument. This value is stored in the file /etc/hostid and need only be performed once.

AUTHOR
Mitchum DSouza (m.dsouza@mrc-apu.cam.ac.uk)

SEE ALSO
gethostid(2), sethostid(2)