osf1 man page for hostid

Query: hostid

OS: osf1

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

hostid(1)						      General Commands Manual							 hostid(1)

NAME
hostid - Sets or displays the identifier of the local host
SYNOPSIS
/usr/sbin/hostid [hostname | hexadecimal_number | internet_address]
DESCRIPTION
The hostid command displays the 32-bit identifier of the host as a hexadecimal number in host standard byte order. The identifier must be unique across all hosts and is commonly set to the Internet address of the specified host. The superuser can set the host ID by specifying a hostname, internet_address, or hexadecimal_number argument. The identifier is stored in network standard byte order.
EXAMPLES
To display the identifier of the local host, enter: $ hostid 0xc009c803 The hostid command displays the identifier of the host as a hexadecimal number in host standard byte order. To set the identifier of the local host to the local Internet address, enter: $ hostid 555.5.55.555 The hostid command converts the Internet address to its hexadecimal equivalent, and then sets the local host to this address. Note that the sample Internet address in this example, 555.5.55.555, is not a valid Internet address and would cause hostid to return an error.
SEE ALSO
Commands: hostname(1) Functions: gethostid(2), sethostid(2) hostid(1)
Related Man Pages
gethostid(3) - linux
gethostid(3) - debian
sethostid(3) - suse
hostid(1) - osf1
gethostid(3) - php
Similar Topics in the Unix Linux Community
Cannot connect to the Internet
finding duplicates in columns and removing lines
procedure to change hostid of Sun server
Change Solaris hostid
Print all Host on local network