Subscribe to How-To Geek

Recommended: Click Here to Run a Free Scan for Common PC Errors   [Sponsored Link]

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

The Geek is the founder of How-To Geek and a geek enthusiast. When he's not coming up with great how-to articles, he's probably writing at his personal blog. This article was written on 12/1/06 and tagged with: Solaris

Leave a Comment




Leave your friendly comment here. If you have a computer help question, leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Copyright © 2006-2008 HowToGeek.com. All Rights Reserved.