MATLAB Installation Guide for Unix |
 |
Determining Your Hostid
If MATLAB is already installed, there are two ways to determine your server hostid:
- Log in to the computer where you run the license manager and run the script lmhostid in the $MATLAB/etc directory.
- Start MATLAB and enter the hostid command at the MATLAB prompt.
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. 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.
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
|
echo `uname -i` 16o p | dc
|
778DA4550
|
Compaq Alpha
|
Ethernet address
|
/usr/sbin/netstat -i
In the output from this command, look in the Address column for a colon-separated, hexadecimal number, such as 8:0:2b:e6:87:59 . Note: To use this address as a hostid you must remove all colons (: ) and prefix any single-digit parts of the address with a zero (0). For example, the hostid for the address above would be 08002be68759 .
|
08002be68759
|
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 colon-separated, hexadecimal number to the right of HWaddr , such as 8:0:2b:e6:87:59 . Note: To use this address as a hostid you must remove all colons (: ) and prefix any single-digit parts of the address with a zero (0). For example, the hostid for the address above would be 08002be68759 .
|
08002be68759
|
| Specifying the Location of the License File | | Performing Common License Management Tasks |  |