Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question might not be so relevant here, but I want to know if there is some command tool that gives me the currently available RAM slots in my machine, also if any of them is free, and information of the reserved slots. Since I want to extend the RAM of my system, I need to know if there is a free RAM slot in my computer. Kindly help.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

sudo hwinfo --bios 2> /dev/null | grep 'Memory Device: #' -A14 | grep 'Size' this tells me about my ram sticks

~$ sudo hwinfo --bios 2> /dev/null | grep 'Memory Device: #' -A14 | grep 'Size'
    Size: 4 GB
    Size: No Memory Installed
    Size: 4 GB
    Size: 4 GB

It is always better to look on the motherboard and read the manual about memory limitations as some system BIOSes say they have more slots than they actually do

share|improve this answer
    
I get the following output for this: Size: 1 GB Size: 1 GB does this mean my computer doesn't have free slots? It can't be extended anymore, right? –  shivshnkr May 11 '13 at 15:30
1  
@shivshnkr That's a question to ask the manual for the motherboard in your computer, or the manual for your computer itself (depending on what type it is). You can possibly install 2GB or 4GB modules in those slots, depending on what the maximum your computer's hardware will accept, and just remove the 1GB modules. –  dobey May 11 '13 at 16:36
    
Clearly your system only has 2 slots and has 1gb per slot, consult your manual to find out if it support larger capacity ram sticks –  GM-Script-Writer-62850 May 11 '13 at 16:40
    
but are there chances it has any hidden slots, that are not displayed using commands? Also while doing memory test during boot time saw some output similar to this, some description regarding both slots containing 1 GB RAM sticks. –  shivshnkr May 12 '13 at 5:06
    
I doubt it would miss any, 2 slots is typical of a mainstream oem system, my laptop only has 1 slot and a integrated 2gb chip, you still need to check your manual sudo hwinfo --bios 2>/dev/null | grep 'Product:' should get your model to so you can look it up –  GM-Script-Writer-62850 May 12 '13 at 12:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.