Solaris is a Unix-like operating system that is popular on servers. If you want to use Solaris on your desktop, you need to get the host ID number. ..
sysdef -h
The sysdef utility gives you system information, including hardware and system information.
Example:
hostid
The hostid utility is a shortcut command to quickly get the hostid.
Example: