揮発性のメモ2

知識をメモ書きしておく

Linuxで、メモリの種類を調べる

このサーバってメモリはDDR3だっけ?DDR4だっけ?
というのを調べる。

dmidecodeコマンドを使う
dmidecode --type memory

# dmidecode --type memory
# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.

Handle 0x0010, DMI type 16, 23 bytes
Physical Memory Array
        Location: System Board Or Motherboard
        Use: System Memory
        Error Correction Type: None
        Maximum Capacity: 64 GB
        Error Information Handle: Not Provided
        Number Of Devices: 4

Handle 0x0011, DMI type 17, 40 bytes
Memory Device
        Array Handle: 0x0010
        Error Information Handle: Not Provided
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 8 GB
        Form Factor: DIMM
        Set: None
        Locator: ChannelA-DIMM0
        Bank Locator: BANK 0
        Type: DDR4
        Type Detail: Synchronous Unbuffered (Unregistered)
        Speed: 2400 MT/s
        Manufacturer: 859B
        Serial Number: E091EA8C
        Asset Tag: 9876543210
        Part Number: CT8G4DFS824A.M8FH3
        Rank: 1
        Configured Memory Speed: 2400 MT/s
        Minimum Voltage: 1.2 V
        Maximum Voltage: 1.2 V
        Configured Voltage: 1.2 V

Type: DDR4
とあるので、DDR4だということがわかる。 やったぜ