How to find System Serial Number in x86 using ipmitool?

San
Posts: 24
Joined: Sun Oct 09, 2016 2:53 pm

How to find System Serial Number in x86 using ipmitool?

Postby San » Sun Oct 09, 2016 2:55 pm

How to find System Serial Number in x86 using ipmitool?

sprasad
Posts: 24
Joined: Sun Oct 09, 2016 2:52 pm

Re: How to find System Serial Number in x86 using ipmitool?

Postby sprasad » Sun Oct 09, 2016 2:56 pm

You can find the serial number of 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 simple 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}’
91)
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.


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 1 guest