To display the host ID number in hexadecimal format, use the hostid command.
The following example shows sample output from the hostid command.
$ hostid 80a5d34c