Re: detect type of ram from linux

Patrick Mochel <[email protected]>
Newsgroups gmane.org.user-groups.linux.pdxlug
Message-ID <[email protected]>
On Sun, 1 May 2005, Robby Russell wrote:

> I have a client who is running a Linux server and wants to upgrade his
> RAM but doesn't want to take it down to check the RAM sticks until he
> has some more RAM to add into it. I am curious if there is a command
> that will tell us what type of RAM is in the box from the shell.

Try 'dmidecode' and search for "Memory". On an IBM Thinkpad, I get this
info:

Handle 0x0008
        DMI type 6, 12 bytes.
        Memory Module Information
                Socket Designation: DIMM Slot 1
                Bank Connections: 0 1
                Current Speed: Unknown
                Type: DIMM SDRAM
                Installed Size: 512 MB (Double-bank Connection)
                Enabled Size: 512 MB (Double-bank Connection)
                Error Status: OK
Handle 0x0009
        DMI type 6, 12 bytes.
        Memory Module Information
                Socket Designation: DIMM Slot 2
                Bank Connections: 2 3
                Current Speed: Unknown
                Type: DIMM SDRAM
                Installed Size: 256 MB (Double-bank Connection)
                Enabled Size: 256 MB (Double-bank Connection)
                Error Status: OK


as well as:

Handle 0x002D
        DMI type 17, 27 bytes.
        Memory Device
                Array Handle: 0x002C
                Error Information Handle: No Error
                Total Width: 64 bits
                Data Width: 64 bits
                Size: 512 MB
                Form Factor: SODIMM
                Set: None
                Locator: DIMM 1
                Bank Locator: Bank 0/1
                Type: DDR
                Type Detail: Synchronous
                Speed: Unknown
                Manufacturer: Not Specified
                Serial Number: Not Specified
                Asset Tag: Not Specified
                Part Number: Not Specified
Handle 0x002E
        DMI type 17, 27 bytes.
        Memory Device
                Array Handle: 0x002C
                Error Information Handle: No Error
                Total Width: 64 bits
                Data Width: 64 bits
                Size: 256 MB
                Form Factor: SODIMM
                Set: None
                Locator: DIMM 2
                Bank Locator: Bank 2/3
                Type: DDR
                Type Detail: Synchronous
                Speed: Unknown
                Manufacturer: Not Specified
                Serial Number: Not Specified
                Asset Tag: Not Specified
                Part Number: Not Specified



	Pat

_______________________________________________
PDXLUG mailing list
[email protected]
http://lists.pdxlug.org/mailman/listinfo/pdxlug
IRC: irc.freenode.net #pdxlug
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.