]>
Commit | Line | Data |
---|---|---|
6dbe3af9 KZ |
1 | .TH hostid 1 |
2 | .SH NAME | |
3 | hostid \- set or print system's host id. | |
4 | .SH SYNTAX | |
5 | .B hostid | |
6 | [\-v] [\|\fIdecimal-id\fR\|] | |
7 | .SH DESCRIPTION | |
8 | .\".NXR "hostid command" | |
9 | The | |
10 | .B hostid | |
11 | command prints the current host id number in hexadecimal and both | |
12 | decimal and hexadecimal in parenthesis if the \-v option is given. | |
13 | This numeric value is expected to be unique across all hosts | |
14 | and is normally set to resemble the host's Internet address. | |
15 | ||
16 | Only the super-user can set the hostid by giving an argument. This value is | |
17 | stored in the file /etc/hostid and need only be performed once. | |
18 | ||
19 | .SH AUTHOR | |
20 | Hostid is written by Mitch DSouza \- (m.dsouza@mrc-apu.cam.ac.uk) | |
21 | ||
22 | .SH SEE ALSO | |
23 | gethostid(2), sethostid(2) |