dmidecode 명령으로 하드웨어 정보 확인하기

dmidecode 명령으로 하드웨어 정보 확인하기
dmidecode 명령으로 시스템 정보 확인하기.


컴퓨터의 DMI(Desktop Management Interface)를 사람이 읽을 수 있게 dumping 하는 명령어
시스템 정보를 자세하게 출력해 주기 때문에 유용한 명령어 이다.

사용법

아무런 옵션 없이 dmidecode 명령을 입력하면, 모든 정보가 한꺼번에 지나가 버리기 때문에, 아래와 같이 more 를 사용해서 확인을 하거나, -t, -s 등의 옵션을 사용해서 확인 하면 된다.

====================================================================
[[email protected] ~]# dmidecode | more
# dmidecode 2.12-dmifs
SMBIOS 2.6 present.
78 structures occupying 4581 bytes.
Table at 0xCF49C000.

Handle 0xDA00, DMI type 218, 11 bytes
OEM-specific Type
        Header and Data:
                DA 0B 00 DA B2 00 17 00 0E 20 00

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: Dell Inc.
        Version: 1.12.0
        Release Date: 07/30/2013
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 4096 kB
        Characteristics:
                ISA is supported
                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
                Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
                5.25"/360 kB floppy services are supported (int 13h)
                5.25"/1.2 MB floppy services are supported (int 13h)
                3.5"/720 kB floppy services are supported (int 13h)
                8042 keyboard services are supported (int 9h)
                Serial services are supported (int 14h)
                CGA/mono video services are supported (int 10h)
                ACPI is supported
                USB legacy is supported
                BIOS boot specification is supported
                Function key-initiated network boot is supported
                Targeted content distribution is supported
        BIOS Revision: 1.12

    .... (생략)
====================================================================


-s, -t 옵션뒤에는 아래와 같은 형식의 키워드와 타입을 사용할 수 있으며, 기타 다른 옵션은 -h 옵션을 통해서 확인 가능하다.

====================================================================
[[email protected] ~]# dmidecode -s
dmidecode: option requires an argument -- 's'
String keyword expected
Valid string keywords are:
  bios-vendor
  bios-version
  bios-release-date
  system-manufacturer
  system-product-name
  system-version
  system-serial-number
  system-uuid
  baseboard-manufacturer
  baseboard-product-name
  baseboard-version
  baseboard-serial-number
  baseboard-asset-tag
  chassis-manufacturer
  chassis-type
  chassis-version
  chassis-serial-number
  chassis-asset-tag
  processor-family
  processor-manufacturer
  processor-version
  processor-frequency


bios version 확인
[[email protected] ~]# dmidecode -s bios-version
1.12.0

bios vendor 확인
[[email protected] ~]# dmidecode -s bios-vendor
Dell Inc.

서버 케이스 타입 확인
[[email protected] ~]# dmidecode -s chassis-type
Rack Mount Chassis

bios release 일자 확인
[[email protected] ~]# dmidecode -s bios-release-date
07/30/2013

시스템 메인보드 모델명 확인
[[email protected] ~]# dmidecode -s baseboard-product-name
01V648

CPU 정보 확인
[[email protected] ~]# dmidecode -s processor-version
Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz
Intel(R) Xeon(R) CPU           X5650  @ 2.67GHz
====================================================================

[[email protected] ~]# dmidecode -t
dmidecode: option requires an argument -- 't'
Type number or keyword expected
Valid type keywords are:
  bios
  system
  baseboard
  chassis
  processor
  memory
  cache
  connector
  slot



시스템 정보 확인 - 제조사 및 장비 모델명, serial number 확인이 가능하다.
[[email protected] ~]# dmidecode -t system
# dmidecode 2.12-dmifs
SMBIOS 2.6 present.

Handle 0x0100, DMI type 1, 27 bytes
System Information
        Manufacturer: Dell Inc.
        Product Name: PowerEdge R410

        Version: Not Specified
        Serial Number: 24XXXBX
        UUID: 4C4C4544-0034-5010-8035-B2C04F574258
        Wake-up Type: Power Switch
        SKU Number: Not Specified
        Family: Not Specified

Handle 0x0C00, DMI type 12, 5 bytes
System Configuration Options
        Option 1: NVRAM_CLR:  Clear user settable NVRAM areas and set defaults
        Option 2: PWRD_EN:  Close to enable password

Handle 0x2000, DMI type 32, 11 bytes
System Boot Information
        Status: No errors detected

시스템의 메모리 정보 확인 - 메모리 슬롯이 몇개 인지, 현재 장착되어 있는 메모리 개수와 각각의 용량을 확인 할 수 있다. 
[[email protected] ~]# dmidecode -t memory
# dmidecode 2.12-dmifs
SMBIOS 2.6 present.

Handle 0x1000, DMI type 16, 15 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: Multi-bit ECC
        Maximum Capacity: 128 GB
        Error Information Handle: Not Provided
        Number Of Devices: 8

Handle 0x1100, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 8192 MB
        Form Factor: DIMM
        Set: 1
        Locator: DIMM_A1 
        Bank Locator: Not Specified
        Type: DDR3
        Type Detail: Synchronous Registered (Buffered)
        Speed: 1333 MHz
        Manufacturer: 00AD04B380AD
        Serial Number: 15B88433
        Asset Tag: 01111611
        Part Number: HMT31GR7BFR4C-H9  
        Rank: 2

Handle 0x1101, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 8192 MB
        Form Factor: DIMM
        Set: 1
        Locator: DIMM_A2 
        Bank Locator: Not Specified
        Type: DDR3
        Type Detail: Synchronous Registered (Buffered)
        Speed: 1333 MHz
        Manufacturer: 00AD04B380AD
        Serial Number: 2FBDAB4C
        Asset Tag: 01111811
        Part Number: HMT31GR7BFR4C-H9  
        Rank: 2

Handle 0x1102, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: No Module Installed
        Form Factor: DIMM
        Set: 2
        Locator: DIMM_A3 
        Bank Locator: Not Specified
        Type: DDR3
        Type Detail: Synchronous
        Speed: Unknown
        Manufacturer:             
        Serial Number:         
        Asset Tag:         
        Part Number:                   
        Rank: Unknown

Handle 0x1103, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: No Module Installed
        Form Factor: DIMM
        Set: 2
        Locator: DIMM_A4 
        Bank Locator: Not Specified
        Type: DDR3
        Type Detail: Synchronous
        Speed: Unknown
        Manufacturer:             
        Serial Number:         
        Asset Tag:         
        Part Number:                   
        Rank: Unknown

Handle 0x1109, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 8192 MB
        Form Factor: DIMM
        Set: 5
        Locator: DIMM_B1 
        Bank Locator: Not Specified
        Type: DDR3
        Type Detail: Synchronous Registered (Buffered)
        Speed: 1333 MHz
        Manufacturer: 00AD04B380AD
        Serial Number: 5C47BED6
        Asset Tag: 01111811
        Part Number: HMT31GR7BFR4C-H9  
        Rank: 2

Handle 0x110A, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 8192 MB
        Form Factor: DIMM
        Set: 6
        Locator: DIMM_B2 
        Bank Locator: Not Specified
        Type: DDR3
        Type Detail: Synchronous Registered (Buffered)
        Speed: 1333 MHz
        Manufacturer: 00AD04B380AD
        Serial Number: 5210C4B9
        Asset Tag: 01111611
        Part Number: HMT31GR7BFR4C-H9  
        Rank: 2

Handle 0x110B, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: No Module Installed
        Form Factor: DIMM
        Set: 6
        Locator: DIMM_B3 
        Bank Locator: Not Specified
        Type: DDR3
        Type Detail: Synchronous
        Speed: Unknown
        Manufacturer:             
        Serial Number:         
        Asset Tag:         
        Part Number:                   
        Rank: Unknown

Handle 0x110C, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: No Module Installed
        Form Factor: DIMM
        Set: 4
        Locator: DIMM_B4 
        Bank Locator: Not Specified
        Type: DDR3
        Type Detail: Synchronous
        Speed: Unknown
        Manufacturer:             
        Serial Number:         
        Asset Tag:         
        Part Number:                   
        Rank: Unknown

====================================================================
 

1개의 댓글이 있습니다.

약 3년 전

윈도우기반만 사용해서 리눅스,유닉스 명령어도 가물가물한데..
간만에 이것저것 한번 만져보겠습니다. 모르는것이 많아서 행복하네요..^^

Reply

댓글 남기기

댓글을 남기기 위해서는 로그인이 필요합니다.

로그인 회원가입

댓글 남기기

댓글을 남기기 위해서는 로그인이 필요합니다.

로그인 회원가입