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
No comments:
Post a Comment