[SUMMARY]: Serial number from shell ?

From: Clive McAdam <CMcAdam_at_liaison.com>
Date: Tue Oct 19 2004 - 10:36:05 EDT
The general consensus is NO, there is no way to get the serial number
programmatically.

Some good suggestions for the future include storing the serial number in a
file like /etc/serialnumber where you can get to it later, or in the
"oem-banner" variable like this:-

ok> setenv oem-banner Serial# 123h4567

 -or-

# eeprom oem-banner="Serial# 123h4567"

Then to get at it, it's a simple case of

# eeprom | grep Serial#



---ORIGINAL QUESTION---
Is there anyway to get the serial number of a Sun box from the shell ?
Like "hostid" or "showrev" will give you the Hostid.
-----------------------
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Oct 19 10:36:53 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:38 EST