Linux下如何检测内存类型?

17 linux memory hardware

哪个 Linux 实用程序可以告诉我我的服务器中是否已注册或未缓冲 ECC 内存?Lshwdmidecode没有对我的工作; dmidecode不提供有关已注册与未缓冲的信息:

Handle 0x0022, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x0021
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 4096 MB
        Form Factor: DIMM
        Set: None
        Locator: DIMM-1A
        Bank Locator: Not Specified
        Type: <OUT OF SPEC>
        Type Detail: Synchronous
        Speed: 1066 MHz (0.9 ns)
        Manufacturer: Not Specified
        Serial Number: Not Specified
        Asset Tag: Not Specified
        Part Number: Not Specified
Run Code Online (Sandbox Code Playgroud)

Fre*_*rdt 11

数据宽度 = 64(8 组 * 8 位)

总宽度 = 72(9 组 * 8 位)

额外的 bank 表示 ECC 处于活动状态。


Gil*_*il' 6

在 dmidecode 2.11(dmidecode.c修订版 1.158)中添加了对“Registered”和“Unbuffered”类型详细信息(以及其他)的支持。如果您获得最新版本,我希望它会显示Type Detail: Synchronous Registered (Buffered)Type Detail: Synchronous Unbuffered (Unregistered)(可能Type: DDR3在上面)。