Commit | Line | Data |
---|---|---|
671cddf8 KB |
1 | .\" Copyright (c) 1988 Regents of the University of California. |
2 | .\" All rights reserved. | |
83513774 | 3 | .\" |
671cddf8 | 4 | .\" Redistribution and use in source and binary forms are permitted |
57a981eb KB |
5 | .\" provided that the above copyright notice and this paragraph are |
6 | .\" duplicated in all such forms and that any documentation, | |
7 | .\" advertising materials, and other materials related to such | |
8 | .\" distribution and use acknowledge that the software was developed | |
9 | .\" by the University of California, Berkeley. The name of the | |
10 | .\" University may not be used to endorse or promote products derived | |
11 | .\" from this software without specific prior written permission. | |
12 | .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | |
13 | .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | |
14 | .\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
671cddf8 | 15 | .\" |
57a981eb | 16 | .\" @(#)hostid.1 6.4 (Berkeley) %G% |
83513774 | 17 | .\" |
f5745cb2 | 18 | .TH HOSTID 1 "" |
83513774 KM |
19 | .UC 5 |
20 | .SH NAME | |
671cddf8 | 21 | \fBhostid\fP \- set or print identifier of current host system |
83513774 | 22 | .SH SYNOPSIS |
671cddf8 | 23 | \fBhostid\fP [hexnum or internet address] |
83513774 | 24 | .SH DESCRIPTION |
671cddf8 KB |
25 | \fIHostid\fP prints the identifier of the current host in hexadecimal. |
26 | This numeric value is expected to be unique across all hosts and is | |
27 | commonly set to the host's Internet address. The super-user can set | |
28 | the hostid by giving a hexadecimal argument or the hostname; this is | |
29 | usually done in the startup script \fI/etc/netstart\fP. | |
83513774 KM |
30 | .SH SEE ALSO |
31 | gethostid(2), sethostid(2) |