How To Find Out Maximum Supported RAM Or Number Of Available DIMM Slots In Linux

, par  noreply@blogger.com (Andrew) , popularité : 2%

Dmidecode ubuntu



If you need a quick way to find out how much RAM your Linux system supports or to determine the number of DIMM slots available, you can use a command line tool called "dmidecode".

To find out the maximum RAM capacity and the number of RAM slots available, use the following command :

sudo dmidecode -t 16



The output should look something like this :

# dmidecode 2.11<br></br>SMBIOS 2.6 present.<br></br><br></br>Handle 0x0032, DMI type 16, 15 bytes<br></br>Physical Memory Array<br></br>     Location: System Board Or Motherboard<br></br>     Use: System Memory<br></br>     Error Correction Type: None<br></br><b>Maximum Capacity:</b> 16 GB<br></br>     Error Information Handle: Not Provided<br></br><b>Number Of Devices:</b> 4<br></br>



The "Maximum Capacity" is the maximum RAM supported by your system, while "Number of Devices" is the number of memory (DIMM) slots available on your computer.

To see complete memory information, including the info above along with currently installed memory information (RAM speed, size, etc.), use :

sudo dmidecode -t memory



Here’s an example output for the command above :



# dmidecode 2.11<br></br>SMBIOS 2.6 present.<br></br><br></br>Handle 0x0032, DMI type 16, 15 bytes<br></br>Physical Memory Array<br></br>     Location: System Board Or Motherboard<br></br>     Use: System Memory<br></br>     Error Correction Type: None<br></br>     Maximum Capacity: 16 GB<br></br>     Error Information Handle: Not Provided<br></br>     Number Of Devices: 4<br></br><br></br>Handle 0x0033, DMI type 17, 28 bytes<br></br>Memory Device<br></br>     Array Handle: 0x0032<br></br>     Error Information Handle: Not Provided<br></br>     Total Width: 64 bits<br></br>     Data Width: 64 bits<br></br><b>Size: 2048 MB</b><br></br>     Form Factor: SODIMM<br></br>     Set: None<br></br>     Locator: ChannelA-DIMM0<br></br>     Bank Locator: BANK 0<br></br><b>Type: DDR3</b><br></br>     Type Detail: Synchronous<br></br><b>Speed: 1333 MHz</b><br></br>     Manufacturer: Samsung<br></br>     Serial Number: 7732E9D6<br></br>     Asset Tag: 9876543210<br></br>     Part Number: M471B5773DH0-CH9  <br></br>     Rank: Unknown<br></br><br></br>Handle 0x0035, DMI type 17, 28 bytes<br></br>Memory Device<br></br>     Array Handle: 0x0032<br></br>     Error Information Handle: Not Provided<br></br>     Total Width: Unknown<br></br>     Data Width: Unknown<br></br>     Size: No Module Installed<br></br>     Form Factor: DIMM<br></br>     Set: None<br></br>     Locator: ChannelA-DIMM1<br></br>     Bank Locator: BANK 1<br></br>     Type: Unknown<br></br>     Type Detail: None<br></br>     Speed: Unknown<br></br>     Manufacturer: Not Specified<br></br>     Serial Number: Not Specified<br></br>     Asset Tag: 9876543210<br></br>     Part Number: Not Specified<br></br>     Rank: Unknown<br></br><br></br>Handle 0x0036, DMI type 17, 28 bytes<br></br>Memory Device<br></br>     Array Handle: 0x0032<br></br>     Error Information Handle: Not Provided<br></br>     Total Width: 64 bits<br></br>     Data Width: 64 bits<br></br><b>Size: 4096 MB</b><br></br>     Form Factor: SODIMM<br></br>     Set: None<br></br>     Locator: ChannelB-DIMM0<br></br>     Bank Locator: BANK 2<br></br><b>Type: DDR3</b><br></br>     Type Detail: Synchronous<br></br><b>Speed: 1333 MHz</b><br></br>     Manufacturer: 830B<br></br>     Serial Number: A74D1715<br></br>     Asset Tag: 9876543210<br></br>     Part Number: NT4GC64B8HG0NS-CG <br></br>     Rank: Unknown<br></br><br></br>Handle 0x0038, DMI type 17, 28 bytes<br></br>Memory Device<br></br>     Array Handle: 0x0032<br></br>     Error Information Handle: Not Provided<br></br>     Total Width: Unknown<br></br>     Data Width: Unknown<br></br>     Size: No Module Installed<br></br>     Form Factor: DIMM<br></br>     Set: None<br></br>     Locator: ChannelB-DIMM1<br></br>     Bank Locator: BANK 3<br></br>     Type: Unknown<br></br>     Type Detail: None<br></br>     Speed: Unknown<br></br>     Manufacturer: Not Specified<br></br>     Serial Number: Not Specified<br></br>     Asset Tag: 9876543210<br></br>     Part Number: Not Specified<br></br>     Rank: Unknown





You can also use lshw (among others) for this (firstly, install it ; in Ubuntu : "sudo apt-get install lshw) :

sudo lshw -C memory





It’s important to note that Dmidecode reports system hardware information as described in the BIOS and does not scan your hardware, so in some cases the output can be wrong. Running dmidecode on my Dell XPS L702X non-3D laptop, the output says my system should have 4 RAM slots but in fact there are only 2 and only the 3D version of my laptop can have 4 RAM slots (and by the way, there are some Windows applications reporting the same thing).



Also see : How To Get Hardware Information In Linux

Originally published at WebUpd8 : Daily Ubuntu / Linux news and application reviews.

counter.php?sc_project=4594652&java=0&sewebupd8?i=UVZyjYbVh_k:3NFfrBGwunU:JO5tD9 webupd8?d=yIl2AUoC8zA webupd8?i=UVZyjYbVh_k:3NFfrBGwunU:F7zBnM webupd8?d=qj6IDK7rITs webupd8?d=GpuqGqRPqxU webupd8?d=3k7XFKuwfg0 webupd8?d=KGf-JMduG9I webupd8?d=Y9kCARWg6Fw webupd8?i=UVZyjYbVh_k:3NFfrBGwunU:gIN9vF
UVZyjYbVh_k

Cet article est repris du site http://feedproxy.google.com/~r/webu...

Publications Derniers articles publiés

Sites favoris Tous les sites

84 sites référencés dans ce secteur