dmidecode

[root@dhcp-11-16 ~]# dmidecode --type 0
# dmidecode 2.12
SMBIOS 2.7 present.


Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: Hewlett-Packard
Version: K01 v02.05
Release Date: 05/07/2012
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 16384 kB
Characteristics:
PCI is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
EDD is supported
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Function key-initiated network boot is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 2.5


[root@dhcp-11-16 ~]# dmidecode --type 1
# dmidecode 2.12
SMBIOS 2.7 present.


Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Hewlett-Packard
Product Name: HP Compaq Elite 8300 MT
Version: Not Specified
Serial Number: CNG2275DXC
UUID: 474C2E00-BF96-11E1-85B4-AC162D0551EC
Wake-up Type: Power Switch
SKU Number: C0Q66PA#AB2
Family: 103C_53307F G=D


[root@dhcp-11-16 ~]# dmidecode --type 2
# dmidecode 2.12
SMBIOS 2.7 present.


Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: Hewlett-Packard
Product Name: 3397
Version: Not Specified
Serial Number: CNG2275DXC
Asset Tag: CNG2275DXC
Features:
Board is a hosting board
Board is removable
Board is replaceable
Location In Chassis: Not Specified
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0


[root@dhcp-11-16 ~]# dmidecode --type 3
# dmidecode 2.12
SMBIOS 2.7 present.


Handle 0x0003, DMI type 3, 22 bytes
Chassis Information
Manufacturer: Hewlett-Packard
Type: Mini Tower
Lock: Present
Version: Not Specified
Serial Number: CNG2275DXC
Asset Tag: CNG2275DXC
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0

SKU Number: <BAD INDEX>



       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


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
`dmidecode` 是一个在 Linux 和类 Unix 系统中广泛使用的命令行工具,用于获取系统的基本硬件信息,特别是关于DMI (Desktop Management Interface) 的数据。DMIS(Desktop Management Interface Standard)是一种标准,提供了操作系统和管理软件访问计算机硬件配置信息的方法。 dmidecode 命令详解如下: 1. **命令格式**: ``` dmidecode [选项] [-t 类型编号] [设备编号] ``` 其中,`-t` 选项用于指定要查询的设备类型(例如 -t 1 代表系统信息,-t 2 代表主板信息等),设备编号可选,用于查询特定的设备。 2. **输出格式**: dmidecode 会返回一个 JSON 或 XML 格式的列表,列出了硬件的相关信息,包括制造商、产品名称、序列号、部件号、BIOS 版本等。 3. **常用选项**: - `-s` 或 `--string`:仅显示字符串值,不使用 XML 或 JSON 格式。 - `-H` 或 `--human-readable`:将数字值转换为人类可读的形式。 4. **主要类型**: - **Type 0**:系统信息,通常包含总体系统描述。 - **Type 1**:主板信息,如制造商、产品名等。 - **Type 2**:BIOS/UEFI 信息。 - **Type 3**:处理器信息。 - **Type 4**:内存信息。 - **Type 17**:电池信息。 - 更多类型的详细内容,如硬盘、网络接口等,可以根据需要查询。 5. **示例**: ``` dmidecode -t 1 ``` 这会显示系统的总体信息,而 ``` dmidecode -t 2 -s system-product-name ``` 则只获取主板的产品名称。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值