Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1452861
  • 博文数量: 297
  • 博客积分: 10010
  • 博客等级: 上将
  • 技术积分: 3082
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 11:36
文章分类

全部博文(297)

文章存档

2011年(1)

2009年(45)

2008年(67)

2007年(184)

我的朋友

分类: LINUX

2008-09-17 15:47:24

如果希望查看服务器的名称,使用dmidecode 命令会让你感觉轻松很多

dmidecode | grep "Product"
×查看服务器的产品名称。

dmidecode |grep  "Serial Number"
 
×查看服务器产品序列号。

  dmidecode  is a tool for dumping a computer's DMI (some say SMBIOS) table contents in a human-readable format. This table contains a description of the system's hardware components, as well as other  useful  pieces  of  information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without having to  probe for the actual hardware.  While this is a good point in terms of report speed and safeness, this  also  makes the presented information possibly unreliable.


阅读(1608) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

xilen20992008-12-11 13:32:54

爽极了