Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1455059
  • 博文数量: 263
  • 博客积分: 10851
  • 博客等级: 上将
  • 技术积分: 2627
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-26 22:40
文章分类

全部博文(263)

文章存档

2013年(4)

2012年(25)

2011年(33)

2010年(50)

2009年(138)

2008年(13)

分类: LINUX

2010-04-15 11:01:32

Dmidecode

DMI,即Desktop Management Interface。也有被称为SMBIOS,即System Management BIOS。DMI表的意义在于让我们在不探测硬件实体的情况下获取硬件的部分信息,方便了用户,但也同时表明,表中的信息可能是不可靠的(比如说有很多国产PC制造商并没有把很多硬件信息写到BIOS里面)。

dmidecode的作用则是将DMI表中的信息用人可以读懂的方式显示出来。

dmidecode以一种可读的方式dump出机器的DMI(Desktop Management Interface)信息。这些信息包括bios、cpu、内存等信息

1. 最简单的的显示全部dmi信息:
 # dmidecode
 这样将输出所有的dmi信息


 2.更精简的信息显示:
 # dmidecode -q
 -q(--quite) 只显示必要的信息


 3.显示指定类型的信息:
 通常我只想查看某类型,比如CPU,内存或者磁盘的信息而不是全部的。这可以使用-t(--type TYPE)来指定信息类型:
 # dmidecode -t bios

 # dmidecode -t 0,4  (显示bios和processor)
 

4. 服务器到底能扩展到多大的内存?

 #dmidecode -t 16

5. 查看Memory

#dmidecode -t 17

 
附:Type Information
—————————————-
0 BIOS
1 System
2 Base Board
3 Chassis
4 Processor
5 Memory Controller
6 Memory Module
7 Cache
8 Port Connector
9 System Slots
10 On Board Devices
11 OEM Strings
12 System Configuration Options
13 BIOS Language
14 Group Associations
15 System Event Log
16 Physical Memory Array
17 Memory Device
18 32-bit Memory Error
19 Memory Array Mapped Address
20 Memory Device Mapped Address
21 Built-in Pointing Device
22 Portable Battery
23 System Reset
24 Hardware Security
25 System Power Controls
26 Voltage Probe
27 Cooling Device
28 Temperature Probe
29 Electrical Current Probe
30 Out-of-band Remote Access
31 Boot Integrity Services
32 System Boot
33 64-bit Memory Error
34 Management Device
35 Management Device Component
36 Management Device Threshold Data
37 Memory Channel
38 IPMI Device
39 Power Supply
阅读(2084) | 评论(0) | 转发(0) |
0

上一篇:nsswitch.conf配置文件

下一篇:僵尸进程

给主人留下些什么吧!~~