Getting serial number in Solaris Sparc servers 11

How to get the serial number in Sparc servers without using any STB tools like sneep.

The below link gives details about the solaris package, but i need to get the serial number like the smbios command.

How to get SUN server serial number ? - UnixArena

For Non-sparc servers, the below command is working fine.

smbios -t SMB_TYPE_SYSTEM

Kindly let me know is there any other way to get the serial number

Try this:

ipmitool sunoem getval /SYS/product_serial_number
1 Like

It's actually hw specific. So... whatever solution you use, it won't work across all machine types. Just saying. Should be fine for anything <6 years though.