Linux® licenseID / lmhostid Instructions


SGI® Altix® systems

There are two ways to retrieve the lmhostid.

  1. lmhostid command (pre-ProPack 5+)

    When available, enter the following command: /usr/sbin/lmhostid
    Example:

    #/usr/sbin/lmhostid

    lmhostid – CopyRight © 1989-2004 by Macrovision Corporation. All rights reseved. The FLEXlm host ID of this machine is “201e8634”

  2. licenseID

    Enter the following command: cat /proc/sgi_sn/licenseID
    Remove the “0x” prefix from the returned value. Example:

    # cat /proc/sgi_sn/licenseID 0x201e8634

    Remove “0x” equals lmhostid of 201e8634

  3. lk_hostid command (for systems running ProPack 5+)

    Enter the following command: lk_hostid - Choose the second value from the output. Example:

    lk_hostid
    R1234567 2012d687 socket=1 core=1 processor=2

    Enter the second value (2012d687) into the box in Key-O-Matic labeled "licenseID/lmhostid"


SGI® Altix® XE systems

  1. lk_hostid command (for systems running ProPack 5+)

    Enter the following command: lk_hostid - Choose the first value from the output. Example: #lk_hostid

    0800690c9e9f 690c9e9f socket=1 core=1 processor=2

    Enter the first value (0800690c9e9f) into the box in Key-O-Matic labeled "licenseID/lmhostid"
    Note: The licenseID that we use for the SGI Altix XE is the 12 character serial number value from the lk_hostid command. Using the SN as the licenseID is unique to the SGI Altix XE.


All other non-SGI 32-bit and 64-bit Linux systems

There are three ways to retrieve the lmhostid.

  1. Download licenseid.sh
    licenseid.sh is a simple command line tool which will display the lmhostid.

    a) Download licenseid.sh. Simply click on the licenseid link. (size: 377b)

    b) In the window titled "Save As...", modify the path as necessary and click "OK".

    c) In a unix shell, change directory to where you saved the file to and type 'chmod +x licenseid.sh'

    d) run the program by typing './licenseid.sh'. The output should look something like:
    ######## License Request #########
    
    Please use the following values to
    generate a license
    
             lmhostid: 00400516E525
            Host Name: test
    
    e) Enter the lmhostid and host name values into the appropriate boxes in the Key-O-Matic page.

  2. Manual Method
    a) In a Linux shell type: "/sbin/ifconfig eth0". The following is example output:

    eth0 Link encap:Ethernet HWaddr 00:40:05:16:E5:25
    inet addr:123.123.123.1 Bcast:123.123.255.255 Mask:255.255.0.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:48739653 errors:34 dropped:0 overruns:0 frame:33
    TX packets:43312837 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:100
    Interrupt:16 Base address:0x2400

    b) Copy the 'HWaddr' field. In the example it is '00:40:05:16:E5:25'

    c) Remove the colons (':') from the data, and this is will be your lmhostid.

    In the Example above the lmhostid would be '00400516E525'

    d) Enter that number into the box in Key-O-Matic labeled "lmhostid"