Linux Get Memory Slot Info

Linux Get Memory Slot Info Rating: 4,3/5 7864 reviews

Most of the system administrators checks CPU & Memory utilization when they were facing some performance issue.

There is lot of utilities are available in Linux to check physical memory.These commands are help us to check the physical RAM present in system, also allow users to check memory utilization in varies aspect.

Most of us know only few commands and we are trying to include all the possible commands in this article.You may think, why I want to know all these commands instead of knowing some of the specific and routine commands.

Linux Get Memory Slot Info App

Don’t think bad or don’t take in negative way because each one has different requirement and perception so, who’s looking for other purpose then this will very helpful for them.

Get Hardware information on BIOS. To get BIOS version, vendor and other details,use -t bios option. I added 'Total memory populated' (The sum of all non-empty slots), & 'NO EMPTY SLOTS - ALL SLOTS POPULATED' (if no free slots); & '# of slots available/open.' So, here I have part of my suggested enhancement - could not figure how to enumerute specific empty slots, so I left 2 lines commented out, if someone knows. Sometimes you will need to find specific information about the memory or RAM (Random Access Memory) on your computer. The RAM info in linux will contain various things like the speed, size, type, data width, vendor id among others. This can especially be useful if you are planning to upgrade the machine and need to know the exact version as supported.

What is RAM

Computer memory is a physical device which capable to store information temporarily or permanently. RAM stands for Random Access Memory is a volatile memory that stores information used by the operating system, software, and hardware.

Two types of memory is available.

  • Primary Memory
  • Secondary Memory

Primary memory is the main memory of the computer. CPU can directly read or write on this memory. It is fixed on the motherboard of the computer.

  • RAM: Random Access Memory is a temporary memory. This information will go away when the computer is turned off.
  • ROM: Read Only Memory is permanent memory, that holds the data even if the system is switched off.

Method-1 : Using free Command

free displays the total amount of free and used physical and swap memory in the system, as well as the buffers and caches used by the kernel. The information is gathered by parsing /proc/meminfo.

Suggested Read : free – A Standard Command to Check Memory Usage Statistics (Free & Used) in Linux

Method-2 : Using /proc/meminfo file

/proc/meminfo is a virtual text file that contains a large amount of valuable information about the systems RAM usage.

It reports the amount of free and used memory (both physical and swap) on the system.

Method-3 : Using top Command

​Top command is one of the basic command to monitor real-time system processes in Linux. It display system information and running processes information like uptime, average load, tasks running, number of users logged in, number of CPUs & cpu utilization, Memory & swap information. Run top command then hit E to bring the memory utilization in MB.

Suggested Read : TOP Command Examples to Monitor Server Performance

Method-4 : Using vmstat Command

vmstat is a standard nifty tool that report virtual memory statistics of Linux system. vmstat reports information about processes, memory, paging, block IO, traps, and cpu activity. It helps Linux administrator to identify system bottlenecks while troubleshooting the issues.

Suggested Read : vmstat – A Standard Nifty Tool to Report Virtual Memory Statistics

Method-5 : Using nmon Command

Slot

nmon is a another nifty tool to monitor various system resources such as CPU, memory, network, disks, file systems, NFS, top processes, Power micro-partition and resources (Linux version & processors) on Linux terminal.

Just press m key to see memory utilization stats (cached, active, inactive, buffered, free in MB & free percent)

Suggested Read : nmon – A Nifty Tool To Monitor System Resources On Linux

Method-6 : Using dmidecode Command

Dmidecode is a tool which reads a computer’s DMI (stands for Desktop Management Interface)
(some say SMBIOS – stands for System Management BIOS) table contents and display system hardware information in a human-readable format.

This table contains a description of the system’s hardware components, as well as other useful information such as serial number, Manufacturer information, Release Date, and BIOS revision, etc,.

Suggested Read :
Dmidecode – Easy Way To Get Linux System Hardware Information

Print only installed RAM modules.

Sum all the installed RAM modules.

Method-7 : Using hwinfo Command

hwinfo stands for hardware information tool is another great utility that used to probe for the hardware present in the system and display detailed information about varies hardware components in human readable format.

It reports information about CPU, RAM, keyboard, mouse, graphics card, sound, storage, network interface, disk, partition, bios, and bridge, etc,.

Suggested Read : hwinfo (Hardware Info) – A Nifty Tool To Detect System Hardware Information On Linux

Method-8 : Using lshw Command

lshw (stands for Hardware Lister) is a small nifty tool that generates detailed reports about various hardware components on the machine such as memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, usb, network card, graphics cards, multimedia, printers, bus speed, etc.

It’s generating hardware information by reading varies files under /proc directory and DMI table.

Suggested Read : LSHW (Hardware Lister) – A Nifty Tool To Get A Hardware Information On Linux

Method-9 : Using inxi Command

inxi is a nifty tool to check hardware information on Linux and offers wide range of option to get all the hardware information on Linux system that i never found in any other utility which are available in Linux. It was forked from the ancient and mindbendingly perverse yet ingenius infobash, by locsmif.

inxi is a script that quickly shows system hardware, CPU, drivers, Xorg, Desktop, Kernel, GCC version(s), Processes, RAM usage, and a wide variety of other useful information, also used for forum technical support & debugging tool.

Suggested Read : inxi – A Great Tool to Check Hardware Information on Linux

Method-10 : Using screenfetch Command

screenFetch is a bash script. It will auto-detect your distribution and display an ASCII art version of that distribution’s logo and some valuable information to the right.

Suggested Read : ScreenFetch – Display Linux System Information On Terminal With Distribution ASCII Art Logo

Method-11 : Using neofetch Command

Neofetch is a cross-platform and easy-to-use command line (CLI) script that collects your Linux system information and display it on the terminal next to an image, either your distributions logo or any ascii art of your choice.

Suggested Read : Neofetch – Shows Linux System Information With ASCII Distribution Logo

Method-12 : Using dmesg Command

dmesg (stands for display message or driver message) is a command on most Unix-like operating systems that prints the message buffer of the kernel.

Method-13 : Using atop Command

Atop is an ASCII full-screen system performance monitoring tool for Linux that is capable of reporting the activity of all server processes (even if processes have finished during the interval).

It’s logging of system and process activity for long-term analysis (By default, the log files are preserved for 28 days), highlighting overloaded system resources by using colors, etc. It shows network activity per process/thread with combination of the optional kernel module netatop.

Suggested Read : Atop – Monitor real time system performance, resources, process & check resource utilization history

Method-14 : Using htop Command

htop is an interactive process viewer for Linux which was developed by Hisham using ncurses library. Htop have many of features and options compared to top command.

Suggested Read : Monitor system resources using Htop command

Get

Get Memory Info Linux

Method-15 : Using corefreq Utility

CoreFreq is a CPU monitoring software designed for Intel 64-bits Processors and supported architectures are Atom, Core2, Nehalem, SandyBridge and superior, AMD Family 0F.

Linux Get Memory Slot Information

CoreFreq provides a framework to retrieve CPU data with a high degree of precision.

Suggested Read : CoreFreq – A Powerful CPU monitoring Tool for Linux Systems

Method-16 : Using glances Command

Glances is a cross-platform curses-based system monitoring tool written in Python. We can say all in one place, like maximum of information in a minimum of space. It uses psutil library to get information from your system.

Glances capable to monitor CPU, Memory, Load, Process list, Network interface, Disk I/O, Raid, Sensors, Filesystem (and folders), Docker, Monitor, Alert, System info, Uptime, Quicklook (CPU, MEM, LOAD), etc,.

Linux get memory slot info check

Suggested Read : Glances (All in one Place)– An Advanced Real Time System Performance Monitoring Tool for Linux

Method-17 : Using gnome-system-monitor

Memory Slot In Motherboard

System Monitor is a tool to manage running processes and monitor system resources. It shows you what programs are running and how much processor time, memory, and disk space are being used.