Linux Command Check Memory Slots
This is our sixth post on getting hardware information. In this post we will see how to get RAM details such as size, speed, make, maximum capacity allowed RAM etc. We already covered some hardware related stuff in this series so far as given below.
Get BIOS, Firmware, Hardware And Drivers Details in Linux/Unix
The numbered directories represent processes, better known as PIDs, and within them, a command that occupies them. The files contain system information such as memory (meminfo), CPU information (cpuinfo), and available filesystems. Read Also: Linux Free Command to Check Physical Memory and Swap Memory. Swapinfo -m or top (12th line) Memory: 826688K (466512K) real, 3096440K (2098204K) virtual, 176636K free Page# 1/17 or vmstat 5 55 (5th collumn).
Example1: Find RAM size(Total, available, used) in Linux. We can use below five methods to get details.
free
Want to understand free command output? check our post on free command.
Output:
top
Check our excelent post to understand Linux top command output.
Output:
Output:
Output:
dmidecode –type memory
or
dmidecode -t 17
Output:
Example 2: Get RAM information like location, Maximum capacity of RAM supported, number of RAM devices present and sa lot info.
Linux Command Check Memory Slots Free
Output:
Example 3: Find RAM information like Type of RAM(SD RAM or DDR2/3), Speed, Manufacture etc
Output:
In our next post in this series we will see BIOS and Processer details.
The following two tabs change content below.- Docker: How to copy files to/from docker container - June 30, 2020
- Anisble: ERROR! unexpected parameter type in action:
Fix - June 29, 2020 - FREE: JOIN OUR DEVOPS TELEGRAM GROUPS - August 2, 2019
- Review: Whizlabs Practice Tests for AWS Certified Solutions Architect Professional (CSAP) - August 27, 2018
- How to use ohai/chef-shell to get node attributes - July 19, 2018
Translation(s): English - Français - Italiano - Русский | ?Discussion |
How to identify a device > RAM
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:
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:
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 Command To Check Memory Slots
lshw
Linux Command Check Memory Slots Windows 10
You can also check information about RAM (like speed, type, etc) using lshw (from package lshw).
References
manpages: free(1), dmidecode(8)