Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

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(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

See Also

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