Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How shall I find out the frequency and type of my current RAM? My OS is Ubuntu 12.04.

share|improve this question
up vote 43 down vote accepted

This should do:

sudo lshw -short -C memory
share|improve this answer
Only outputs "PCI (sysfs)" – T... Dec 15 '13 at 16:28
Wait shortly, it will output more. – Malte Skoruppa Dec 15 '13 at 16:28
This doesn't display the frequency. – Braiam Dec 15 '13 at 19:22
It should, and it does for me: on my computer, two of the lines read "4GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns)" (corresponding to the two RAM slots where I have RAM installed). Did you look closely? – Malte Skoruppa Dec 15 '13 at 20:09
This did not display the frequency for me in Ubuntu 15.04. Likely hardware dependent. Solution by Henrique worked though. – holocronweaver Apr 21 '15 at 17:30

This will give you all information you may want, probably:

sudo dmidecode | grep -A 15 Memory
share|improve this answer
Yes it shows. Mine for exemple is shown as: Speed: 1333 MHz Just after Type Detail. – Henrique Ferreira Dec 15 '13 at 19:44
dmidecode returns information from the bios... Maybe you have a problem with your bios... Don't know. – Henrique Ferreira Dec 15 '13 at 20:12
This was the only command that shows the frequency of my generic DRAM – McLeary Dec 23 '15 at 12:32

Try Hard info, for install run in terminal : sudo apt-get install hardinfo It has interface, and it's simple to use. )

share|improve this answer

I could only get this info with dmidecode, but rather than grepping, it's cleaner to use the right type:

sudo dmidecode --type memory
share|improve this answer

Your Answer


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.