How to find Machine serial number of solaris machine?
Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to find Machine serial number of solaris machine?
Hello,
Is there any command to find Machine Serial Number of Solaris machine.
"hostid" is the command which gives machine id but not the serial number.
While it used to be true that the machine serial was only on a sticker, quite a few Sun/Oracle machines now have the serial available in software. However, they use a variety of different commands to display it.
One worth trying is "prtdiag -v".
The simplest general solution is to use sneep . It will find the serial on many machines (see http://wikis.sun.com/display/sneep/HardwareSerial ) and on other machines, it will allow you to save the serial (obtained the hard way) into the eeprom for future reference using sneep or "eeprom".
The "serial" reported in the boot prom banner is the hostid in decimal, NOT the machine serial.
The one referenced in the other posts with download ID 4304155a is very old, and has a bad interaction with Veritas VxVM .
The service tag does include the serial number, but it generally uses sneep to obtain it. Sneep and Service Tag software are both included in the Service Tools Bundle. http://www.sun.com/service/stb/
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Not always, I'm luckier with smbios.
Code:
$ pfexec ipmitool fru
FRU Device Description : Builtin FRU Device (ID 0)
Could not open bmc device: No such file or directory
Device not present (No Response)
Could not open bmc device: No such file or directory
Get Device ID command failed
$ smbios -t SMB_TYPE_SYSTEM
ID SIZE TYPE
1 92 SMB_TYPE_SYSTEM (system information)
Manufacturer: TOSHIBA
Product: TECRA M10
Version: PTMB3E-0MY08PLK
Serial Number: 2A*****2H
UUID: c31*****-122b-11df-8023-b059210*****
Wake-Up Event: 0x6 (power switch)
SKU Number: 0000000000
Family: 0000000000
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.