add appropriate copyright notice
[unix-history] / usr / src / old / hostid / hostid.1
CommitLineData
671cddf8
KB
1.\" Copyright (c) 1988 Regents of the University of California.
2.\" All rights reserved.
83513774 3.\"
671cddf8
KB
4.\" Redistribution and use in source and binary forms are permitted
5.\" provided that this notice is preserved and that due credit is given
6.\" to the University of California at Berkeley. The name of the University
7.\" may not be used to endorse or promote products derived from this
8.\" software without specific prior written permission. This software
9.\" is provided ``as is'' without express or implied warranty.
10.\"
11.\" @(#)hostid.1 6.3 (Berkeley) %G%
83513774 12.\"
f5745cb2 13.TH HOSTID 1 ""
83513774
KM
14.UC 5
15.SH NAME
671cddf8 16\fBhostid\fP \- set or print identifier of current host system
83513774 17.SH SYNOPSIS
671cddf8 18\fBhostid\fP [hexnum or internet address]
83513774 19.SH DESCRIPTION
671cddf8
KB
20\fIHostid\fP prints the identifier of the current host in hexadecimal.
21This numeric value is expected to be unique across all hosts and is
22commonly set to the host's Internet address. The super-user can set
23the hostid by giving a hexadecimal argument or the hostname; this is
24usually done in the startup script \fI/etc/netstart\fP.
83513774
KM
25.SH SEE ALSO
26gethostid(2), sethostid(2)