H/W 정보 확인 명령어 dmidecode

| 2020년 7월 30일 | 0 Comments

dmidecode는 dmi table 정보를 읽어와 필요한 H/W정보 확인할 수 있는 명령어입니다.

 

명령어 사용방법은 간단합니다 .

dmidecode명령어에 -t 옵션 [타입]과 확인하고 싶은 값을 지정해주면 되며

기본적인 H/W 사양들을 확인해 보도록 하겠습니다.

 

[CPU 정보 확인]
[root@localhost ~]# dmidecode -t 4 |more
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.

Handle 0x0004, DMI type 4, 42 bytes
Processor Information
Socket Designation: CPU #000
Type: Central Processor
Family: Unknown
Manufacturer: AuthenticAMD
ID: 10 0F 87 00 FF FB 8B 17
Version: AMD Ryzen 5 3600 6-Core Processor
Voltage: 3.3 V

 

[메모리 확인]
[root@localhost ~]# dmidecode -t 16
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.

Handle 0x000C, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 64 GB // 인식 가능한 최대 메모리 수
Error Information Handle: Not Provided
Number Of Devices: 4 // 메모리 슬롯 수

[root@localhost ~]# dmidecode -t 17 | egrep ‘Memory|Size’
Memory Device
Size: No Module Installed

Memory Device
Size: 8192MB

Memory Device
Size: No Module Installed

Memory Device
Size: 8192 MB

총 4개의 메모리 슬롯 중 2,4번 슬롯에 메모리 장착을 확인

 

[파워 상태 확인]
[root@techsmile-104316 ~]# dmidecode -t chassis
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.

Handle 0x0300, DMI type 3, 21 bytes
Chassis Information
Manufacturer: QEMU
Type: Other
Lock: Not Present
Version: pc-i440fx-bionic
Serial Number: Not Specified
Asset Tag: Not Specified
Boot-up State: Safe
Power Supply State: Safe  
Thermal State: Safe
Security Status: Unknown
OEM Information: 0x00000000
Height: Unspecified

power supply state: safe로 정상임을 확인 .

 

이외에도 아래 옵션들을 통해 바이오스 정보, 펌웨어 정보 등등 수많은 값들을  확인하실 수 있습니다

[모든 옵션]

0 – BIOS
1 – System
2 – Baseboard
3 – Chassis
4 – Processor
5 – Memory Controller
6 – Memory Module
7 – Cache
8 – Port Connector
9 – System Slots
0 – 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

Category: LINUX

Avatar

About the Author ()