man pages section 1: User Commands

Exit Print View

Updated: July 2014
 
 

hostid(1)

Name

hostid - print the numeric identifier of the current host

Synopsis

/usr/bin/hostid 

Description

The hostid command prints the identifier of the current host in hexadecimal. If it is executed within a non-global zone that emulates a host identifier, the emulated host identifier is printed. This numeric value is likely to differ when hostid is run on a different machine.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

See also

sysinfo(2), gethostid(3C), attributes(5), zones(5)