do reboot more flexibly
[unix-history] / usr / src / old / hostid / hostid.1
CommitLineData
83513774
KM
1.\" Copyright (c) 1983 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
192cc2dd 5.\" @(#)hostid.1 6.2 (Berkeley) %G%
83513774 6.\"
f5745cb2 7.TH HOSTID 1 ""
83513774
KM
8.UC 5
9.SH NAME
10hostid \- set or print identifier of current host system
11.SH SYNOPSIS
12.B hostid
13[ identifier ]
14.SH DESCRIPTION
15The
16.I hostid
17command prints the identifier of the current host in hexadecimal.
18This numeric value is expected to be unique across all hosts and
192cc2dd 19is commonly set to the host's Internet address.
83513774 20The super-user can set the hostid by giving a hexadecimal
192cc2dd
JB
21argument or the hostname;
22this is usually done in the startup script /etc/rc.local.
83513774
KM
23.SH SEE ALSO
24gethostid(2), sethostid(2)