如何从solaris操作系统上获取机器的sn号

需要从solaris上查机器的sn号,于是google了一上,发现有以下几种方法:

1. prtdiag –vp | grep –i sn  (在M5000上测试可用, solaris版本为solaris10u10)

2. 在explorer的README和default文件中 (在V890上测试,值均为空)

/opt/SUNWexplo/output/explorer.`hostid`.`hostname`…./README file (System Serial number)

/opt/SUNWexplo/output/explorer.`hostid`.`hostname`…./defaults

3. eeprom | grep ChassisSerialNumber 

4. 使用sneep

posted @ 2012-01-11 18:01  生命的力量在于不顺从  阅读(1071)  评论(0编辑  收藏  举报