Jan 122010

As we discussed earlier here, you can find the serial number of a Sun Hardware using the utility “sneep”. However, in Sun X86 systems, you can use the pre-installed tool “ipmitool” to find the system serial number. It is not as straight forward as sneep but still is simpl procedure.

Run the command

# ipmitool fru | grep “Product Serial”

where “FRU” is a Field Replaceable Unit. The problem here is it’s going to output too many serial numbers to confuse. The one we are interested is a 10 digit alpha-numeric number.

However, extending the command as

# ipmitool fru print |egrep “Mainboard|/SYS” | awk ‘{print $7}’

Would give you the ID number of the “/SYS” or “Mainboard” (91 here) which mostly has the serial number of the system. We then run the “ipmitool” as follows with that ID number to find the system serial number.

# ipmitool fru print 91 |grep “Product Serial” | awk ‘{print $4}’

where “91” was the ID number.

  3 Responses to “How to find System Serial Number in x86 using ipmitool”

  1. For x86 you probably want to use smbios.

    /usr/sbin/smbios -t 1
    1 67 SMB_TYPE_SYSTEM (system information)

    Manufacturer: HP
    Product: ProLiant DL145 G2
    Version: 123456-01
    Serial Number: XXXXXXXXX

    UUID: yada-yada
    Wake-Up Event: 0x6 (power switch)
    SKU Number:

  2. Another handy way:
    ipmitool sunoem getval /SYS/product_serial_number

  3. @ken stailey : Nice one..dear .i tried 🙂

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>