Both tools are dependencies of the ubuntu-standard package and should be available by default on all Ubuntu systems. There used to be another tool called hwinfo, which is no longer available for Ubuntu since 13.10.
Most of these answers will just give you the nominal clock speed of the memory.
It may not be the actual clock speed.
The canonical method is to boot Memtest or if you are so endowed, boot Windows and use CPU-Z.
You can trust BIOS, you can trust Memtest. There are an enormous number of low cost boxes fitted with 1333MHz DDR3 that is actually clocked at 1066MHz. Both DMI decode and LSHW may be deceptive.
This should do:
Use the
lshw
command with thememory
class:As you can see, I'm using DDR3 1600MHz RAM.
Another option is
dmidecode
:This is for a server with ECC memory (as can be seen from the
Error Correction Type
field and the difference betweenData Width
andTotal Width
).Both tools are dependencies of the
ubuntu-standard
package and should be available by default on all Ubuntu systems. There used to be another tool calledhwinfo
, which is no longer available for Ubuntu since 13.10.I could only get this info with
dmidecode
, but rather than grepping, it's cleaner to use the right type:This will give you all information you may want, probably:
Try Hard info, for install run in terminal :
sudo apt-get install hardinfo
It has interface, and it's simple to use. )? REST OF ANSWERS
The rest of methods don't always work, reporting the speed as unknown. Here's one way that never fails.
? REQUIRED SOFTWARE
Install i2c-tools.
? MEMORY BANDWIDTH
Read the value from the RAM eeprom with:
The value is returned in MT/s.
? MEMORY FREQUENCY
If you want the value in MHz just divide the previous result by the number of channels the RAM module has, which you can get with:
? MISCONFIGURED MOTHERBOARD
Note this is the speed of the module, not the speed that the motherboard is configured and capable to use.
For checking if the speed is misconfigured in the motherboard access the BIOS or UEFI, as explained in your motherboard manual.
Above answers are correct; I just wanted to add further by piping the output of command to grep for Type and speed.
FYI: T in Type must be capital.
This might give either Type: DDR4 OR Type: DDR3
for speed use
FYI: -m option of grep is used to limit the number of lines; for example -m2 means 2 lines.
Most of these answers will just give you the nominal clock speed of the memory. It may not be the actual clock speed.
The canonical method is to boot Memtest or if you are so endowed, boot Windows and use CPU-Z.
You can trust BIOS, you can trust Memtest. There are an enormous number of low cost boxes fitted with 1333MHz DDR3 that is actually clocked at 1066MHz. Both DMI decode and LSHW may be deceptive.