• ARTICLES
SEARCH

How-To Geek

Get the Host ID Number on Solaris

On Solaris, the hostid is similar to the hostname. To determine the hostid of a Solaris box, there are a couple of options to follow.

sysdef -h

The sysdef utility gives you system information, including hardware and system information.

Example:

# sysdef -h
*
* Hostid
*
 3adf6e7c

hostid

The hostid utility is a shortcut command to quickly get the hostid.

Example:

# hostid
*
* Hostid
*
 3adf6e7c

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 12/1/06

Enter Your Email Here to Get Access for Free:

Go check your email!