Determine RAM type in debian server

Solution 1:

I would try the following command which might you give you the information you need depending on the motherboard:

sudo dmidecode -t memory

For example on one of my Dell servers I get the part number (but no so lucky on my workstation):

Memory Device
        Array Handle: 0x1000
        Error Information Handle: Not Provided
        Total Width: 72 bits
        Data Width: 64 bits
        Size: 2048 MB
        Form Factor: DIMM
        Set: 1
        Locator: DIMM_A2 
        Bank Locator: Not Specified
        Type: <OUT OF SPEC>
        Type Detail: Synchronous
        Speed: 1066 MHz (0.9 ns)
        Manufacturer: 00CE000080CE
        Serial Number: 423C357E
        Asset Tag: 01101700
        Part Number: M391B5673FH0-CF8  

Solution 2:

How about using lshw?

http://ezix.org/project/wiki/HardwareLiSter

http://ezix.org/project/wiki/HardwareLiSter#Exampleoutput

http://packages.debian.org/search?keywords=lshw