command to check RAM slots in motherboard?
It happened to me once that I ran one of these commands. It told me I had 4 slots. I bought two extra cards, just to open it and find I only had two slots. The other two were blocked. Follow @user253751 advice: open it and check it by yourself
Jun 12, 2024 at 1:07
4 Answers 4
You can use this command:
sudo lshw -class memory
It will give you an output like this:
*-memory description: System Memory physical id: 33 slot: System board or motherboard size: 4GiB *-bank:0 description: DIMM [empty] physical id: 0 slot: ChannelA-DIMM0 *-bank:1 description: DIMM [empty] physical id: 1 slot: ChannelA-DIMM1 *-bank:2 description: SODIMM DDR3 Synchronous 1333 MHz (0.8 ns) product: AD73I1C1674EV vendor: Fujitsu physical id: 2 serial: 43D30100 slot: ChannelB-DIMM0 size: 2GiB width: 64 bits clock: 1333MHz (0.8ns) *-bank:3 description: DIMM [empty] physical id: 3 slot: ChannelB-DIMM1
Here in my system I have 4 memory slots in which currently I am using only one slot. In other slots you can see it shows empty .
For maximum supportable memory use:
sudo dmidecode -t 16
sudo dmidecode -t memory
sudo dmidecode | grep -i "Maximum Capacity:" | uniq
EDIT: more interactive way to see Slot use small script (suggested by Serg)
sudo lshw -class memory | awk '/bank/ END '
283 4 4 silver badges 13 13 bronze badges
answered Sep 12, 2015 at 19:08
11.2k 7 7 gold badges 41 41 silver badges 41 41 bronze badges
thanks pl_rock !! my system showing 4 banks and maximum supportable size is 16Gb . it means i can add 4 RAMs of 4Gb ?
Sep 12, 2015 at 19:31
yes, you can do .
Sep 12, 2015 at 19:33
suggesting a small improvement to your answer sudo lshw -class memory | awk ‘/bank/
Sep 13, 2015 at 0:48
@pl_rock No, that’s not always true. Some motherboards, particularly in laptops, will report memory slots in lshw that are supported by the chipset, but which aren’t actually present on your computer’s motherboard. There’s no way to be sure without checking the manufacturer’s specs, or looking inside.
– user450359
Sep 13, 2015 at 3:56
Another way to get all the numbers directly;
To get the total number of slots:
sudo dmidecode -t memory | grep -c '^Memory Device$'
To get the number of slots used:
sudo dmidecode -t memory | grep -c -Po '^\tPart Number: (?!\[Empty\])'
To get the maximum capacity:
sudo dmidecode -t memory | grep -Po '^\tMaximum Capacity: \K.*'
ubuntu@ubuntu ~ % sudo dmidecode -t memory | grep -c '^Memory Device$' 4 ubuntu@ubuntu ~ % sudo dmidecode -t memory | grep -c -Po '^\tPart Number: (?!\[Empty\])' 1 ubuntu@ubuntu ~ % sudo dmidecode -t memory | grep -Po '^\tMaximum Capacity: \K.*' 32 GB
answered Sep 12, 2015 at 19:44
35.8k 13 13 gold badges 102 102 silver badges 151 151 bronze badges
The second command wasn’t useful in my case. This seems more robust : dmidecode -t memory | grep -c ‘Size: No Module Installed’
Apr 21, 2024 at 16:51
@SkippyleGrandGourou exactly!
Jun 2, 2024 at 14:37
The number of memory devices in the results of sudo dmidecode –type 17 is equal to the number of memory slots, so the command to print the number of RAM slots is:
sudo dmidecode --type 17 | grep 'Memory Device' --count
The results of this command will be one integer number equal to the number of RAM slots.
The command to show the size of each of the installed RAM sticks is:
sudo dmidecode --type 17 | grep -i size
This is a very informative command because it shows the number of empty RAM slots, the number of RAM slots that have RAM sticks installed and the size of each installed RAM stick.
The command to show the maximum RAM capacity (the maximum size that you can increase the RAM to) is:
sudo inxi -m | grep capacity
This example output shows that the computer has 4 RAM slots (2 empty slots & 2 full slots), and two 4GB RAM sticks (8GB RAM).
$ sudo dmidecode --type 17 | grep 'Memory Device' --count 4 $ sudo dmidecode --type 17 | grep -i size Size: No Module Installed Size: No Module Installed Size: 4096 MB Size: 4096 MB $ sudo inxi -m | grep capacity Array-1 capacity: 32 GB devices: 4 EC: None
dmidecode shows the number of slots available for the controller. There are up to 4 DMI types, 2 can be memory arrays, and 2 can be specific slots. 2 are less common. The information in dmidecode/inxi is extremely unreliable when it comes to the array data, but the actual slot data is generally very reliable. If you are looking into buying or upgrading RAM, you should always check the product specifications to make sure that what inxi/dmidecode reports is actually correct. This goes in particular for maximum RAM size and array capacities. *
answered Nov 14, 2024 at 12:47
113k 107 107 gold badges 276 276 silver badges 307 307 bronze badges
[Quick Answer]
I use the following command to ckeck:
sudo dmidecode -t 17
# dmidecode 3.0 Getting SMBIOS data from sysfs. SMBIOS 2.7 present. Handle 0x0009, DMI type 17, 34 bytes Memory Device Array Handle: 0x0008 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 4096 MB Form Factor: SODIMM Set: None Locator: ChannelA-DIMM0 Bank Locator: BANK 0 Type: DDR3 Type Detail: Synchronous Speed: 1600 MHz Manufacturer: Samsung Serial Number: 78111110 Asset Tag: None Part Number: K4B8G1646B-MYK0 Rank: Unknown Configured Clock Speed: 1600 MHz Handle 0x000A, DMI type 17, 34 bytes Memory Device Array Handle: 0x0008 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 4096 MB Form Factor: SODIMM Set: None Locator: ChannelB-DIMM0 Bank Locator: BANK 2 Type: DDR3 Type Detail: Synchronous Speed: 1600 MHz Manufacturer: Samsung Serial Number: 22800022 Asset Tag: None Part Number: M471B5273CH0-YK0 Rank: Unknown Configured Clock Speed: 1600 MHz
[NOTE]:
You could also use the sudo dmidecode -t 16 to get the summarized details.
Situs Judi Bola Terpercaya
bola parlay, situs parlay bola, cara main parlay bola, judi bola, mix parlay, mix parlay hari ini, judi bola parlay, judi bola terpercaya, judi bola parlay, judi bola slot, judi bola resmi.
Send me an email through ‘Contact’ button above and I’ll get back to you asap.
Reviews
Terms Of Service
SoundBetter is a curated marketplace of the world’s top music production talent
- info@soundbetter.com
- +(1) 888-734-4358
World-class music and production talent at your fingertips
Browse Curated Pros
Search by credits or ‘sounds like’ and check out audio samples and verified reviews of top pros.
Get Free Proposals
Contact pros directly with your project details and receive handcrafted proposals and budgets in a flash.
Make Amazing Music
Fund and work on your project through our secure platform. Payment is only released when work is complete.
The Villans will be back in action on Friday night, welcoming Leeds United to Elland Road.
©2000- ITHAKA. All Rights Reserved. JSTOR®, the JSTOR logo, JPASS®, and ITHAKA® are registered trademarks of ITHAKA.
Joining BK8 Malaysia brings a host of exciting benefits. From welcome bonuses to exclusive promotions and loyalty bonuses, you won’t miss out on the chance to win attractive prizes and special promotions.
Geo Distance Calculation using GeoPy Python package
As part of the deal, BK8 will continue to remain as the official training wear partner of the club for the 2023/2024 season.
:
- CMDbet Singapore
- Link CMD368 Tanpa Banned
- CMD368 Member Function Log In
- CMD368 Alternatif Link
- CMDbet Agent Account Singapore
- Www CMD368 Com
- CMD368