Is it possible to detect what kinda RAM is on my Linux server?  DDR or SDRAM ?

Posted on 2006-05-31
Last Modified: 2009-01-23
Is it possible to detect what kinda RAM is on my Linux server?  DDR or SDRAM ? Or motherboard type?
We want to upgrade RAM on our server, but we are not sure if it is DDR or SDRAM. Its a P4 3.0HT socket478. So maybe somehow in Linux (Centos) I can see more info.
Question by:Octalys
    LVL 87

    Expert Comment

    I don't know any mainboards for P-IV's using sdram, those I know either have DDR RAM or RDRAM.

    I'm not aware of a linux utility that would output the exact info you need. You may want to get a UBCD, boot the server with and use some of the tests on it to find out what the hardware is.
    I'm sure one of the tests in the mainboard section will tell you what mainboard is used, or often you can also see that while booting, it is often listed then. Once you know the mainboard and model, you can download the manual from the manufacturer's site.
    LVL 1

    Accepted Solution

    There are two ways I know of doing this:

    The first one is to use dmidecode as root (which is part of the kernel-utils package on RHEL3 and RHEL4 and therefore CentOS 3.x and 4.x)
    It will tell you what the make/model of your motherboard is and how many dimms you have and their sizes.

    Alternatively you can use the sensors program, which will just tell you the number of DIMMs, their size and whether they are DDR or DDR2 etc.
    Try the following (as root) to get it to work:
    modprobe eeprom

    Author Comment


    I know there are 4 slots on the board, this is the result of sensors

    Adapter: SMBus I801 adapter at 0400
    Memory type:            DDR SDRAM DIMM
    Memory size (MB):       512

    Adapter: SMBus I801 adapter at 0400
    Memory type:            DDR SDRAM DIMM
    Memory size (MB):       512

    Does this means its DDR SDRAM, and not the old SDRAM ?
    LVL 1

    Expert Comment

    yeah that means it is DDR SDRAM since that what it says for my systems that have DDR ram in them. It also seems about right for that age of system. I recommend getting the motherboard model number from dmidecode though to check against the manual to make sure that you get the right ones.

    Note that it may want to install in pairs for best performance if you have a Dual Channel capable motherboard, which I think it is very likely that you do.

    Author Comment

    thanks for the answers, its DDR SDRAM.

    I couldnt find motherboard type, but it doesnt matter. Going to plug 2x512mb in.


    Expert Comment

    lshw will also do the trick. Here's an example outputting HTML:
    lshw -html >mybox.html

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
    It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now