The standard operating system commands to obtain the host ID of the computer depending upon the operating system you are using are given below:-
OS | Command | Server Host ID Type | Comments |
Windows | ipconfig /all | ETHERNET | The hostid will be returned as the 12 digit hex ‘Physical Address’. Remove the hyphens, ‘-’, before entering it. |
HP-UX | echo `/bin/uname -i` 16op dc | LONG | Returns the 8 digit hex host ID. |
Linux | /sbin/ifconfig eth0 | ETHERNET | Returns a 12 digit hex ‘HWaddr’. Remove the colons. |
Solaris | /usr/bin/hostid | LONG | Returns the 8 digit hex host ID. |
Learn More on Host ID here.
If you have any other queries or doubts related to Host ID then do Post Here
No comments:
Post a Comment