HOSTID(1N) COMMAND REFERENCE HOSTID(1N)
NAME
hostid - set or print identifier of current host system
SYNOPSIS
hostid [ Internet Address ]
DESCRIPTION
The hostid command prints the identifier of the current host
as an internet address.
The command netconfig(8n) ensures that hostid is set
correctly whenever the workstation is rebooted. The hostid
is saved in the network.conf(5n) file.
Only the superuser can set the hostid. The input format is
the standard internet address format, see netconfig(8n). The
hostid can be set to the internet address of any of the
interfaces (typically there is only one interface, so there
is no choice).
The value set by hostid is also returned as part of the stat
structure (see stat(2)) to aid in determining the location
of a file.
FILES
/etc/network.conf File that remembers network
configuration upon rebooting.
RETURN VALUE
[NO_ERRS] Command completed without error.
[1] You incorrectly specified an internet
address.
[P_ERR] A system error occurred. Execution
terminated. See intro(2) for more
information on system errors.
SEE ALSO
gethostid(2), sethostid(2), stat(2), netconfig(8n),
network.conf(5n).
Printed 10/17/86 1
%%index%%
na:72,91;
sy:163,217;
de:380,919;
fi:1299,183;
rv:1482,394;
se:1876,240;
%%index%%000000000106