728x90
반응형

 

 

dmidecode

리눅스에서 dmidecode 를 사용하여 메모리 정보를 확인 할 수 있다. 

 

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

 

 

* -t 옵션 값

 

       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

         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

 

 

 

 

사용법 

~$ sudo dmidecode -t 17

 

 

# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 3.1.1 present.

Handle 0x0028, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0027
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: XMM3
Bank Locator: Not Specified
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Rank: Unknown
Configured Clock Speed: Unknown
Minimum Voltage: Unknown
Maximum Voltage: Unknown
Configured Voltage: Unknown

Handle 0x0029, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0027
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 16384 MB
Form Factor: DIMM
Set: None
Locator: XMM1
Bank Locator: Not Specified
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2400 MT/s
Manufacturer: 01980000802C
Serial Number: -
Asset Tag: 01183900
Part Number: XRMWRN-MIE          
Rank: 2
Configured Clock Speed: 2400 MT/s
Minimum Voltage: Unknown
Maximum Voltage: Unknown
Configured Voltage: 1.2 V

Handle 0x002A, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0027
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: XMM4
Bank Locator: Not Specified
Type: Unknown
Type Detail: None
Speed: Unknown
Manufacturer: Not Specified
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Rank: Unknown
Configured Clock Speed: Unknown
Minimum Voltage: Unknown
Maximum Voltage: Unknown
Configured Voltage: Unknown

Handle 0x002B, DMI type 17, 40 bytes
Memory Device
Array Handle: 0x0027
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 16384 MB
Form Factor: DIMM
Set: None
Locator: XMM2
Bank Locator: Not Specified
Type: DDR4
Type Detail: Synchronous Unbuffered (Unregistered)
Speed: 2400 MT/s
Manufacturer: 01980000802C
Serial Number: -
Asset Tag: 01183900
Part Number: XRMWRN-MIE          
Rank: 2
Configured Clock Speed: 2400 MT/s
Minimum Voltage: Unknown
Maximum Voltage: Unknown
Configured Voltage: 1.2 V

 

 

 

 

참고자료 1 : https://faq.hostway.co.kr/index.php?mid=Linux_ETC&page=4&sort_index=readed_count&order_type=desc&document_srl=1450

 

Linux ETC - 현재 설치된 메모리 정보를 확인하는 방법

현재 설치된 메모리 정보를 확인하는 방법 [root@www]# dmidecode -t 17 Handle 0x000B, DMI type 17, 27 bytes. Memory Device Array Handle: 0×0005 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: 4096 MB For

faq.hostway.co.kr

 

참고자료 2 : https://harryp.tistory.com/682

 

[Linux] dmidecode - 리눅스 메모리 이름, 용량 확인 방법

안녕하세요. 리눅스의 쉘 명령어로 메모리 정보를 확인할 수 있는 방법을 소개합니다. 리눅스의 하드웨어 정보를 확인할 수 있는 'dmidecode' 명령어를 이용하면 됩니다. 먼저 dmidecode의 Usage 입니다

harryp.tistory.com

 

728x90
반응형