[SUMMARY]: Serial number from shell ?

From: Clive McAdam (CMcAdam@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



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:35 EDT