Linux Get Memory Slot Info

Posted on by admin
Linux Get Memory Slot Info Rating: 3,9/5 4928 votes

Sep 19, 2017 An article explaining how to check physical memory (RAM) in the Linux server. 4 different commands to get memory information from the Linux server. Checking physical memory (RAM) In this article we will see basic commands to check physical memory on a server in Linux. 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. @azorius (and probably unimplemented) means the bios/chipset can handle 4 slots, but the board manufacturer decided not to include 2 of the possible slots the bios can support in the physical realm that is the actual MB. Apr 22, 2013 tool to detect number of memory slots, memory module type, speed, and size Hi there, I have to upgrade memory in a couple of remote (other part of the city) machines and I would like to be able to query all necessary info in a comfortable ssh session without having to drive there and unsrew each different machine (many different types).

Translation(s): English - Français - Italiano - Русский

?Discussion

How to identify a device > RAM

Linux

How to identify the installed Memory / RAM.

Many people simply use free, which is available on every Debian system, to list the quantity of RAM installed (detected). Gnome users can install and use the hardinfo. KDE user can use kinfocenter.

free

free is the Unix command to know about free/used/available memory on your system:

Memory slot motherboard definition

under Gnome: hardinfo

Gnomes's System Information (Hardinfo in Menu Applications/System Tools, from package:hardinfo) has an information page on the RAM installed.

under KDE: KInfocenter

KDE's KInfoCenter (in K Menu / System / KInfoCenter Info Center, from package:kcontrol) has an information page on the RAM installed.

dmidecode

dmidecode can be used to query the motherboards DMI zone about RAM, Ram Slot(s) and Memory Controller:

Linux Get Memory Speed

dmidecode -t memory is equivalent to running the 4 commands below (i.e dmidecode -t 5 -t 6 -t 16 -t 17)

Memory Device

Memory Controller Information

Memory Module Information

Linux Get Memory Slot Info Free

lshw

Get Cpu Info Linux

You can also check information about RAM (like speed, type, etc) using lshw (from package lshw).

Linux Get Memory Size

References

Linux Get Memory Slot Information

  • manpages: free(1), dmidecode(8)