Quote:
Originally Posted by
kduffin
prtdiag does not show you the serial number that is on the back of the system.
Keith
This was true in 2003 when it was posted.
In 2008, quite a few of the newer Sun machines do report the chassis serial number in the output of prtdiag -v ; generally at the end.
This is one of the places that
sneep looks for the serial.
Quote:
Originally Posted by
rhfrommn
The serial number you see in the OBP when it boots is *not* the same as the system serial number on the Sun sticker on the back of the machine.
I believe that it is the serial number of the prom chip, but I'm not sure of that. But in any case, if you need the system serial number itself you can't get it from the command line.
The serial that you see in the OBP banner is just the hostid in decimal . It is (usually) related to the ethernet MAC address.
On some Sun platforms, it
is possible to get the serial from the command line, but there are several different ways to do it.
The simplest way is to let
sneep hunt it down for you .
If your machine doesn't know its serial number, you can tell sneep what it is, and sneep will keep track of it for you after that.
It will also track other useful information like rack location, contract number, or whatever you want.
See the
sneep download page for more information.