MATLAB Installation Guide for Unix    

Determining Your Hostid

If MATLAB is already installed, there are two ways to determine your server hostid:

If MATLAB is not installed, use a native operating system command to find the hostid.

The following table lists the operating system commands you can use to determine your hostid for each supported system. In the table, note that the license manager uses different hostid formats for different hardware platforms because some hardware platforms, such as Sun, have a unique hostid, while others do not. For this reason, the Ethernet address is used on some platforms as the unique hostid. An Ethernet address is 6-bytes long and each byte is specified as two hex digits. Specify all 12 hex digits when using an Ethernet address as the hostid. For example, if the Ethernet address is 8:0:20:0:5:AC, specify the hostid as 0800200005AC.

Hardware Platform
Hostid Description
How to Obtain the Hostid
Sample Hostid
Sun SPARC
32-bit hostid
Enter the hostid command.
170a3472
HP 9000
32-bit hostid
Ethernet address
echo `uname -i` 16o p | dc
lanscan (use station address without leading 0x).
778DA4550
070020005532
Compaq Alpha
Ethernet address
/usr/sbin/netstat -i
Look under address and remove all colons (:) from the entry associated with ln0.
080020005532
SGI
32-bit hostid
echo `/etc/sysinfo -s` 16o p | dc
On systems with multiple CPUs, use the first hostid.
90D40225
IBM RS/6000
32-bit hostid
Enter the uname -m command. Remove the last two digits and use the lowest eight digits, ignoring any high level zeros.
00249477
Linux
Ethernet address
/sbin/ifconfig eth0
Use the string to the right of HWaddr and remove all colons (:).
00400516E525


 Specifying the Location of the License File Performing Common License Management Tasks