I would like to find out the speed of memory on my linux operating system. How do I find out the speed of memory on linux system? How to get the speed of memeory using the third part software in linux. How to use linux lshw command to get the speed of memory out.
This article will guide you how to install and use the software lshw to find out the speed of memeory .
Recommend reading:CentOS 7 /RHEL7: 2 Linux Commands To Check Memory Usage
Description
lshw is a small tool to extract detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or IA-64 systems and on some PowerPC machines (PowerMac G4 is known to work).
It currently supports DMI (x86 and IA-64 only), OpenFirmware device tree (PowerPC only), PCI/AGP, CPUID (x86), IDE/ATA/ATAPI, PCMCIA (only tested on x86), SCSI and USB.
Install lshw software package on linux
Type the following command to install lshw package on rhel/centos linux:
yum install lshw
outputs:
[root@devops ~]# yum install lshw Loaded plugins: fastestmirror, langpacks base | 3.6 kB 00:00 epel/x86_64/metalink | 5.1 kB 00:00 epel | 4.4 kB 00:00 extras | 3.4 kB 00:00 updates | 3.4 kB 00:00 epel/x86_64/primary_db | 3.8 MB 00:16 (1/2): epel/x86_64/updateinfo | 250 kB 00:01 (2/2): epel/x86_64/pkgtags | 1.3 MB 00:04 Loading mirror speeds from cached hostfile * base: mirrors.yun-idc.com * epel: mirrors.centos.com * extras: mirrors.centos.com * updates: mirrors.yun-idc.com Resolving Dependencies --> Running transaction check ---> Package lshw.x86_64 0:B.02.17-3.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: lshw x86_64 B.02.17-3.el7 epel 276 k Transaction Summary ================================================================================ Install 1 Package Total download size: 276 k Installed size: 797 k Is this ok [y/d/N]: y Downloading packages: lshw-B.02.17-3.el7.x86_64.rpm | 276 kB 00:01 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : lshw-B.02.17-3.el7.x86_64 1/1 Verifying : lshw-B.02.17-3.el7.x86_64 1/1 Installed: lshw.x86_64 0:B.02.17-3.el7 Complete!
Using lshw to find out the speed of memory
Type the following command to get the dimm memory speed:
lshw -short -C memory
outputs:
system () /0 bus DG35EC /0/0 processor Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz /0/0/1 memory 2MiB L2 cache /0/0/3 memory 32KiB L1 cache /0/2 memory 32KiB L1 cache /0/4 memory 64KiB BIOS /0/14 memory 8GiB System Memory /0/14/0 memory 2GiB DIMM DDR2 Synchronous 667 MHz (1.5 ns) /0/14/1 memory 2GiB DIMM DDR2 Synchronous 667 MHz (1.5 ns) /0/14/2 memory 2GiB DIMM DDR2 Synchronous 667 MHz (1.5 ns) /0/14/3 memory 2GiB DIMM DDR2 Synchronous 667 MHz (1.5 ns)
See Also: Linux commands: lshw (1) command man page
done …