ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Dmidecode 명령어로 하드웨어 정보 보기 !
    Server 2022. 11. 4. 11:31

    Dmidecode 명령어로 하드웨어 정보 보기 !

    하드웨어 정보가 필요한 상황이야 여러가지로 많으니 어떻게 확인하는지 알아보자 ~

     

    Dmidecode 도구는 DMI (일부는 SMBIOS라고도 함) 테이블을 읽어 데이터를 가져오고 하드웨어 세부 정보, 일련 번호 및 BIOS 버전, 프로세서 등과 같은 유용한 시스템 정보를 사람이 읽을 수있는 형식으로 표시합니다. dmidecode 명령을 실행하려면 루트 권한이 필요할 수 있습니다.

     

    1. Demidecode의 기본 출력

    아래는 Demidecode 명령 샘플 출력입니다.

    # dmidecode 2.11
    SMBIOS version fixup (2.31 -> 2.3).
    SMBIOS 2.3 present.
    45 structures occupying 1642 bytes.
    Table at 0x000E0010.
    
    Handle 0x0000, DMI type 0, 20 bytes
    BIOS Information
            Vendor: Phoenix Technologies LTD
            Version: 6.00
            Release Date: 12/06/2006
            Address: 0xE78A0
            Runtime Size: 100192 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
                   USB legacy is supported
                    Smart battery is supported
                    BIOS boot specification is supported

    2. DMI 유형을 얻는 방법

    DMI ID는 시스템의 특정 하드웨어 정보를 제공합니다. ‘-t’또는‘–type‘및‘Id‘옵션이있는 Dmidecode는 정확한 정보를 제공합니다. Id 6은 메모리 모듈 정보를 제공합니다.

    [[email protected] ~]# dmidecode -t 6
    # dmidecode 2.11
    SMBIOS version fixup (2.31 -> 2.3).
    SMBIOS 2.3 present.
    
    Handle 0x0009, DMI type 6, 12 bytes
    Memory Module Information
            Socket Designation: RAM socket #0
            Bank Connections: 0 1
            Current Speed: Unknown
            Type: EDO DIMM
            Installed Size: 1024 MB (Single-bank Connection)
            Enabled Size: 1024 MB (Single-bank Connection)
            Error Status: OK
    
    Handle 0x000A, DMI type 6, 12 bytes
    Memory Module Information
            Socket Designation: RAM socket #1
            Bank Connections: 2 3
            Current Speed: Unknown
            Type: EDO DIMM
            Installed Size: Not Installed
            Enabled Size: Not Installed
            Error Status: OK
    
    Handle 0x000B, DMI type 6, 12 bytes
    Memory Module Information
            Socket Designation: RAM socket #2
            Bank Connections: 4 5
            Current Speed: Unknown
            Type: EDO DIMM
            Installed Size: Not Installed
            Enabled Size: Not Installed
            Error Status: OK
    
    Handle 0x000C, DMI type 6, 12 bytes
    Memory Module Information
            Socket Designation: RAM socket #3
            Bank Connections: 6 7
            Current Speed: Unknown
            Type: EDO DIMM
            Installed Size: Not Installed
            Enabled Size: Not Installed
            Error Status: OK

    id 옵션

    	Keyword     Types
           ------------------------------
           bios        0, 13
           system      1, 12, 15, 23, 32
           baseboard   2, 10
           chassis     3
           processor   4
           memory      5, 6, 16, 17
           cache       7
           connector   8
           slot        9

     

    ‘type_id‘를 사용하는 대신 dmidecode 명령에‘-t‘인수와 함께 키워드를 사용할 수도 있습니다. 다음은 사용 가능한 키워드 목록입니다.

    		Type   Information
    		----------------------------------------
              0		BIOS
              1		System
              2		Base Board
              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

     

    예를 들어, 시스템의 Cache 정보를 얻으려면 Id 7 대신 아래 명령을 실행할 수 있습니다.

    [[email protected] ~]# dmidecode -t cache
    # dmidecode 2.11
    SMBIOS version fixup (2.31 -> 2.3).
    SMBIOS 2.3 present.
    
    Handle 0x000D, DMI type 7, 19 bytes
    Cache Information
            Socket Designation: L1 Cache
            Configuration: Enabled, Socketed, Level 1
            Operational Mode: Write Back
            Location: Internal
            Installed Size: 16 kB
            Maximum Size: 16 kB
            Supported SRAM Types:
                    Burst
                    Pipeline Burst
                    Asynchronous
            Installed SRAM Type: Asynchronous
            Speed: Unknown
            Error Correction Type: Unknown
            System Type: Unknown
            Associativity: Unknown
    
    Handle 0x000E, DMI type 7, 19 bytes
    Cache Information
            Socket Designation: L2 Cache
            Configuration: Enabled, Socketed, Level 2
            Operational Mode: Write Back
            Location: External
            Installed Size: 0 kB
            Maximum Size: 512 kB
            Supported SRAM Types:
                    Burst
                    Pipeline Burst
                    Asynchronous
            Installed SRAM Type: None
            Speed: Unknown
            Error Correction Type: Unknown
            System Type: Unknown
            Associativity: Unknown

    3. 메모리 정보를 얻는 방법

    시스템에 대한 메모리 정보를 얻고 시스템에서 지원하는 메모리 양은 어떻게됩니까? 다음 명령은 시스템이 최대 4GB의 RAM을 지원할 수 있음을 보여줍니다.

    [[email protected] ~]# dmidecode -t 16
    # dmidecode 2.11
    SMBIOS version fixup (2.31 -> 2.3).
    SMBIOS 2.3 present.
    
    Handle 0x001D, DMI type 16, 15 bytes
    Physical Memory Array
            Location: System Board Or Motherboard
            Use: System Memory
            Error Correction Type: None
            Maximum Capacity: 4 GB
            Error Information Handle: Not Provided
            Number Of Devices: 4

    4. BIOS 정보는 어떻게 얻습니까?

    시스템의 BIOS 정보를 얻으려면 '-t'옵션과 함께 다음 명령을 실행하십시오.

    [[email protected] ~]# dmidecode -t bios
    # dmidecode 2.11
    SMBIOS version fixup (2.31 -> 2.3).
    SMBIOS 2.3 present.
    
    Handle 0x0000, DMI type 0, 20 bytes
    BIOS Information
            Vendor: Phoenix Technologies LTD
            Version: 6.00
            Release Date: 12/06/2006
            Address: 0xE78A0
            Runtime Size: 100192 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
                    USB legacy is supported
                    Smart battery is supported
                    BIOS boot specification is supported

    5. 제조업체, 모델 및 일련 번호는 어떻게 얻습니까?

    시스템의 제조업체, 모델 및 일련 번호에 대한 정보를 얻으려면 다음 명령을 사용하십시오.

    [[email protected] ~]# dmidecode -t system
    # dmidecode 2.11
    SMBIOS 2.4 present.
    
    Handle 0x0001, DMI type 1, 27 bytes
    System Information
            Manufacturer: LENOVO
            Product Name: 9637C76
            Version: ThinkCentre M55e
            Serial Number: L9BT188
            UUID: 8015D37A-2F82-DC11-A3FB-8C6E4EBAD5CE
            Wake-up Type: AC Power Restored
            SKU Number: Not Specified
            Family: Not Specified
    
    Handle 0x000F, DMI type 12, 5 bytes
    System Configuration Options
            Option 1: Jumper settings can be described here.
    
    Handle 0x0010, DMI type 15, 29 bytes
    System Event Log
            Area Length: 432 bytes
            Header Start Offset: 0x0000
            Header Length: 16 bytes
            Data Start Offset: 0x0010
            Access Method: General-purpose non-volatile data functions
            Access Address: 0x0000
            Status: Valid, Not Full
            Change Token: 0x0000001A
            Header Format: Type 1
            Supported Log Type Descriptors: 3
            Descriptor 1: POST error
            Data Format 1: POST results bitmap
            Descriptor 2: Single-bit ECC memory error
            Data Format 2: Multiple-event
            Descriptor 3: Multi-bit ECC memory error
            Data Format 3: Multiple-event
    
    Handle 0x0017, DMI type 23, 13 bytes
    System Reset
            Status: Enabled
            Watchdog Timer: Present
            Boot Option: Do Not Reboot
            Boot Option On Limit: Do Not Reboot
            Reset Count: Unknown
            Reset Limit: Unknown
            Timer Interval: Unknown
            Timeout: Unknown
    
    Handle 0x001F, DMI type 32, 20 bytes
    System Boot Information
            Status:

    dmidecode에 대해 자세히 알아 보려면 터미널 또는 명령 프롬프트에서‘man dmidecode‘를 실행하십시오.

     

    출처 : https://ko.linux-console.net/?p=1501#gsc.tab=0

    'Server' 카테고리의 다른 글

    이슬림 서버 바이오스 셋팅 (P장비)  (0) 2022.11.15
    클라우드 컴퓨팅 이란?  (0) 2022.08.22
    RAID 란?(feat FC,HBA카드)  (0) 2022.08.19
    서버 하드웨어(Server Hardware)  (0) 2022.08.18
    서버란 무엇인가?  (0) 2022.08.17

    댓글

Designed by Tistory.