본문 바로가기
SW/ETC

서버에서 하드웨어 정보 확인하기

by bigju 2021. 12. 12.

 

dmidecode(Desktop Management Interface) 사용

 

dmidecode 를 사용하면 서버의 모든 하드웨어 정보를 확인이 가능합니다.


 

dmidecode -h

 

Usage: dmidecode [OPTIONS]

Options are:

-d, --dev-mem FILE Read memory from device FILE (default: /dev/mem)

-h, --help Display this help text and exit

-q, --quiet Less verbose output

-s, --string KEYWORD Only display the value of the given DMI string

-t, --type TYPE Only display the entries of given type

-u, --dump Do not decode the entries

--dump-bin FILE Dump the DMI data to a binary file

--from-dump FILE Read the DMI data from a binary file

-V, --version Display the version and exit

 


모델명 확인

dmidecode -s system-product-name
 

메모리 뱅크 확인

$ dmidecode -t 17 | egrep 'Memory|Size'
 

최대 확장 가능한 메모리 확인

dmidecode -t 16
 

시리얼 확인

dmidecode | grep 'Serial Number' | head -1
 

 

메모리제조사 확인

dmidecode -t memory | grep Manufacturer

 

-t 옵션뒤에 확인하고 싶은 디바이스 type 을 입력

 

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

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 Devices

39 Power Supply

40 Additional Information

41 Onboard Devices Extended Information

42 Management Controller Host Interface

 

 

ex) dmidecode -t 0

 dmidecode -t 0
.

BIOS Information
        Vendor: HP
        Version: P71
        Release Date: 11/01/2014
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 8192 kB
        Characteristics:
                PCI is supported
                PNP 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
                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)
                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
                USB legacy is supported
                BIOS boot specification is supported
                Function key-initiated network boot is supported
                Targeted content distribution is supported
        Firmware Revision: 2.50
 
 

 


 

Big Ju

댓글

메인으로가기


    

Big Ju

IT Engineer


항상 답을 위해 노력하는

엔지니어입니다.

 

 

    


 UP!