1hostid(1) User Commands hostid(1)
2
3
4
6 hostid - print the numeric identifier of the current host
7
9 /usr/bin/hostid
10
11
13 The hostid command prints the identifier of the current host in hexa‐
14 decimal. If it is executed within a non-global zone that emulates a
15 host identifier, the emulated host identifier is printed. This numeric
16 value is likely to differ when hostid is run on a different machine.
17
19 See attributes(5) for descriptions of the following attributes:
20
21
22
23
24 ┌───────────────────────────────────────────────────────────┐
25 │ATTRIBUTE TYPE ATTRIBUTE VALUE │
26 │Availability SUNWcsu │
27 └───────────────────────────────────────────────────────────┘
28
30 sysinfo(2), gethostid(3C), attributes(5), zones(5)
31
32
33
34SunOS 5.11 4 Feb 2009 hostid(1)