Is it possible from a Linux command line to find out what memory I have? By which I mean how many slots I have, how many are filled, and what by?
I've used tools like Crucial's memory scanner (on Windows) in the past to determine what is in a system and from there to decide what best to upgrade with, and I'm looking to do something similar on Linux. The fact that Crucial can do it suggests the info is there somewhere.
If not at the commandline, then GUI-based would suffice for now (but would limit usefulness).
Initially I'm looking for something that works on Ubuntu 12.10 (64-bit).
On 16 November 2012 11:39, Adam Bower adam@thebowery.co.uk wrote:
dmidecode should do it.
Mmmm, lots of lovely information! Thanks!
Looking at my desktop, I can deduce that my PC has 2 slots each with 2GB in them. However, I can't tell what sort of RAM I have or that the motherboard can take. Is that just "how it is" and the Crucial memory tool relies on working out the motherboard then looking up what it takes in their own database? Or is there some other black magic going on?
I think the relevant extract from dmidecode is as below, although I may have missed something useful.
Handle 0x0009, DMI type 6, 12 bytes Memory Module Information Socket Designation: DIMM0 Bank Connections: 0 1 Current Speed: Unknown Type: DIMM SDRAM Installed Size: 2048 MB (Double-bank Connection) Enabled Size: 2048 MB (Double-bank Connection) Error Status: OK
Handle 0x000A, DMI type 6, 12 bytes Memory Module Information Socket Designation: DIMM1 Bank Connections: 4 5 Current Speed: Unknown Type: DIMM SDRAM Installed Size: 2048 MB (Double-bank Connection) Enabled Size: 2048 MB (Double-bank Connection) Error Status: OK
On Fri, 16 Nov 2012 12:03:01 +0000 Mark Rogers mark@quarella.co.uk allegedly wrote:
On 16 November 2012 11:39, Adam Bower adam@thebowery.co.uk wrote:
dmidecode should do it.
Mmmm, lots of lovely information! Thanks!
Looking at my desktop, I can deduce that my PC has 2 slots each with 2GB in them. However, I can't tell what sort of RAM I have or that the motherboard can take. Is that just "how it is" and the Crucial memory tool relies on working out the motherboard then looking up what it takes in their own database? Or is there some other black magic going on?
Mark
You should see a section called "System Information" after the BIOS info which will list the motherboard manufacturer and product name. Plug that product name into the manufacturer's website to see the specs.
Mick ---------------------------------------------------------------------
blog: baldric.net gpg fingerprint: FC23 3338 F664 5E66 876B 72C0 0A1F E60B 5BAD D312
---------------------------------------------------------------------