Thursday, December 6, 2012

Determine Installed RAM/Memory Chips In Linux Using dmidecode

dmidecode -t 17
Would yield something like:


# dmidecode 2.11
SMBIOS 2.5 present.

Handle 0x1100, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 4096 MB
        Form Factor: FB-DIMM
        Set: 1
        Locator: DIMM1
        Bank Locator: Not Specified
        Type: DDR2 FB-DIMM
        Type Detail: Synchronous
        Speed: 667 MHz
        Manufacturer: 80AD7FB380AD
        Serial Number: 40321104
        Asset Tag: 010844
        Part Number: HYMP151F72CP8D5-Y5
        Rank: 4

Handle 0x1101, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 4096 MB
        Form Factor: FB-DIMM
        Set: 1
        Locator: DIMM2
        Bank Locator: Not Specified
        Type: DDR2 FB-DIMM
        Type Detail: Synchronous
        Speed: 667 MHz
        Manufacturer: 80AD7FB380AD
        Serial Number: 4032190D
        Asset Tag: 010844
        Part Number: HYMP151F72CP8D5-Y5
        Rank: 4

Handle 0x1102, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 4096 MB
        Form Factor: FB-DIMM
        Set: 2
        Locator: DIMM3
        Bank Locator: Not Specified
        Type: DDR2 FB-DIMM
        Type Detail: Synchronous
        Speed: 667 MHz
        Manufacturer: 80AD7FB380AD
        Serial Number: 4032110E
        Asset Tag: 010844
        Part Number: HYMP151F72CP8D5-Y5
        Rank: 4

Handle 0x1103, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 4096 MB
        Form Factor: FB-DIMM
        Set: 2
        Locator: DIMM4
        Bank Locator: Not Specified
        Type: DDR2 FB-DIMM
        Type Detail: Synchronous
        Speed: 667 MHz
        Manufacturer: 80AD7FB380AD
        Serial Number: 4032180D
        Asset Tag: 010844
        Part Number: HYMP151F72CP8D5-Y5
        Rank: 4

Handle 0x1104, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 4096 MB
        Form Factor: FB-DIMM
        Set: 3
        Locator: DIMM5
        Bank Locator: Not Specified
        Type: DDR2 FB-DIMM
        Type Detail: Synchronous
        Speed: 667 MHz
        Manufacturer: 80AD7FB380AD
        Serial Number: 40321111
        Asset Tag: 010844
        Part Number: HYMP151F72CP8D5-Y5
        Rank: 4

Handle 0x1105, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 4096 MB
        Form Factor: FB-DIMM
        Set: 3
        Locator: DIMM6
        Bank Locator: Not Specified
        Type: DDR2 FB-DIMM
        Type Detail: Synchronous
        Speed: 667 MHz
        Manufacturer: 80AD7FB380AD
        Serial Number: 40321511
        Asset Tag: 010844
        Part Number: HYMP151F72CP8D5-Y5
        Rank: 4

Handle 0x1106, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 4096 MB
        Form Factor: FB-DIMM
        Set: 4
        Locator: DIMM7
        Bank Locator: Not Specified
        Type: DDR2 FB-DIMM
        Type Detail: Synchronous
        Speed: 667 MHz
        Manufacturer: 80AD7FB380AD
        Serial Number: 4032110C
        Asset Tag: 010844
        Part Number: HYMP151F72CP8D5-Y5
        Rank: 4

Handle 0x1107, DMI type 17, 28 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 4096 MB
        Form Factor: FB-DIMM
        Set: 4
        Locator: DIMM8
        Bank Locator: Not Specified
        Type: DDR2 FB-DIMM
        Type Detail: Synchronous
        Speed: 667 MHz
        Manufacturer: 80AD7FB380AD
        Serial Number: 4032190C
        Asset Tag: 010844
        Part Number: HYMP151F72CP8D5-Y5
        Rank: 4

So this board has 8 chips in it, all 4GB in size