这篇“linux的dmidecode命令怎么使用”文章的知识点大部分人都不太理解,所以小编给大家总结了以下内容,内容详细,步骤清晰,具有一定的借鉴价值,希望大家阅读完这篇文章能有所收获,下面我们一起来看看这篇“Linux的dmidecode
这篇“linux的dmidecode命令怎么使用”文章的知识点大部分人都不太理解,所以小编给大家总结了以下内容,内容详细,步骤清晰,具有一定的借鉴价值,希望大家阅读完这篇文章能有所收获,下面我们一起来看看这篇“Linux的dmidecode命令怎么使用”文章吧。
dmidecode允许你在Linux系统下获取有关硬件方面的信息。dmidecode遵循SMBiOS/DMI标准,其输出的信息包括BioS、系统、主板、处理器、内存、缓存等等。
运行dmidecode命令之后,屏幕会输出大量记录,可以使用less分页查看,每个记录有4个不同的值:
运行如下命令:
[root@localhost ~]# dmidecode | less
SMBIOS规范定义了以下DMI类型:
Type InfORMation──────────────────────────────────────────── 0 BIOS 1 System 2 Baseboard 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 40 Additional Information 41 Onboard Devices Extended Information 42 Management Controller Host Interface
输出时可以使用关键字来代替数字形式的类型。需要添加–type参数。
KeyWord Types──────────────────────────────bios 0, 13system 1, 12, 15, 23, 32baseboard 2, 10, 41chassis 3processor 4memory 5, 6, 16, 17cache 7connector 8slot 9
显示bios的信息:
[root@localhost ~]# dmidecode -t bios或者[root@localhost ~]# dmidecode -t 0,13
[root@localhost ~]# dmidecode -t baseboard
显示有关已安装物理内存(RAM)的信息,请运行以下命令:
[~] # dmidecode -t 17
显示我的物理机安装了两条DDR3的内存,每根内存条的容量为4GB等信息。
使用下面类型查看机器支持最大物理内存是多少:
[~] # dmidecode -t 16
[~] # dmidecode -t processor
以上就是关于“Linux的dmidecode命令怎么使用”这篇文章的内容,相信大家都有了一定的了解,希望小编分享的内容对大家有帮助,若想了解更多相关的知识内容,请关注编程网操作系统频道。
--结束END--
本文标题: Linux的dmidecode命令怎么使用
本文链接: https://www.lsjlt.com/news/311828.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-03-01
2024-03-01
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0