Quote:
Originally Posted by frustrated1
I went to site and retrieve the serial number visually, but would still be interested if anyone knows how to obtain the serial number of a system from the command line for future knowledge...
Now that you've gone to the site to read the physical serial number,
you might get some benefit from the "sneep" tool from Sun.
Sun Sneep - Serial Number in EEPROM
Sneep provides a persistent, software-accessible Chassis Serial Number (CSN) for virtually all Sun Solaris hardware platforms. Sneep uses the system EEPROM for storage of the Chassis Serial Number and any other important user-defined data such as asset, contract, or location information. The presence of the software-accessible serial number and other service-related information can significantly simplify activities related to system service and asset management.
Sneep can keep the serial and other asset information right in the eeprom
where it's handy, protected, and stays associated with the machine,
and it gives you easy access to it in software.
Whenever possible, sneep gets the serial from the machine from any of several different data sources and commands. If sneep cannot find it, it depends on you to supply it after your trip to the data center.
BTW-
some of the newer Sun machines do provide software access to the true serial number,
like the SF3800-6800, the SF12K/SF15K, and newer . Most of those keep the serial
in the System Controller or the ALOM processor, and getting it still takes some work,
but at least it is possible.
Sneep is definitely the easiest thing to use.
Once you have the serial number, sneep will keep it safe and handy.