본문 바로가기

OS,Network,Container

리눅스 deidecode 명령어

반응형

[ dmidecode ]

말 그대로 DMI Table을 사람이 읽을 수 있는 형태로 해독(decode)해주는 명령어이다.
 
하드웨어를 점검하거나 이름을 파악할 때 필요하다. 또한, 장애 발생 시 상세 정보 확인시에도 필요하다.
메인보드, CPU, Memory 등의 정보를 확인할 수 있음.
 
 

** 사전준비

보통 linux에 안깔려있는 경우가 많으므로 깔아주어야 한다.
yum -y install dmidecode*
 
 

[사용법]

dmidecode [옵션]
 

[옵션]

-t : type을 지정하여 지정된 형태를 가져옴
( bios, system, baseboard, chassis, processor, memory, cache, connector, slot, ..)
 
 
[root@localhost ~]# dmidecode -t processor
 
..
..
Handle 0x0083, DMI type 4, 42 bytes
Processor Information
        Socket Designation: CPU #127
        Type: Central Processor
        Family: Unknown
        Manufacturer: GenuineIntel
        ID: EB 06 00 00 FF FB AB 0F
        Version: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
        Voltage: 3.3 V
        External Clock: Unknown
..
..
 
[root@localhost ~]# dmidecode -t bios
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.7 present.
 
 
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: Phoenix Technologies LTD
        Version: 6.00
        Release Date: 07/02/2015
        Address: 0xEA5E0
        Runtime Size: 88608 bytes
        ROM Size: 64 kB
        Characteristics:
                ISA is supported
                PCI is supported
                PC Card (PCMCIA) is supported
                PNP is supported
                APM is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                ESCD support is available
                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)
                CGA/mono video services are supported (int 10h)
                ACPI is supported
                Smart battery is supported
                BIOS boot specification is supported
                Function key-initiated network boot is supported
                Targeted content distribution is supported
        BIOS Revision: 4.6
        Firmware Revision: 0.0
 
-s : dmi에서 주어지는 값을 보여줌
 
[root@localhost ~]# dmidecode -s bios-vendor
Phoenix Technologies LTD
 
 
반응형

'OS,Network,Container' 카테고리의 다른 글

리눅스 vmstat 명령어  (0) 2020.04.27
리눅스 free 명령어 - 리눅스 Memory  (0) 2020.04.27
리눅스 /proc/meminfo  (0) 2020.04.26
리눅스 top 명령어  (0) 2020.04.26
CentOS7 Chrony를 이용한 NTP Master 서버 구축  (2) 2020.04.26