Linux Get Ram Slots

So now you need to install and lookup a command to find out such basic information as the memory type when Linux used to tell you in dmesg and the BSD’s still do. I guess ‘modern’ Linux get’s more like windows every day. 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 ).

How to check RAM size in Ubuntu. In this tutorial, You are going to learn linux command to check RAM size and system memory information.

Check RAM Size in Linux, Ubuntu

To check RAM in your Linux system open the terminal (Ctrl + Alt + T) and type the following command mentioned below.

Display the RAM size in Megabytes (MB).

Output –

2
4
total used free shared buffers cached
-/+buffers/cache:61

How to Install, Uninstall packages using apt-get utility.

If you want check the linux RAM size in Kilobytes(KB). Then type command free or free -k.

2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
MemFree:423780kB
Cached:1021596kB
Active:3702560kB
Active(anon):3515792kB
Active(file):186768kB
Unevictable:2391212kB
SwapTotal:3998716kB
Dirty:1512kB
AnonPages:6226880kB
Shmem:579536kB
SReclaimable:82412kB
KernelStack:8376kB
NFS_Unstable:0kB
WritebackTmp:0kB
Committed_AS:15837952kB
VmallocUsed:357216kB
HardwareCorrupted:0kB
HugePages_Total:0
HugePages_Rsvd:0
Hugepagesize:2048kB
DirectMap2M:5083136kB

If you know some other better ways to check system and ram information then let us know through your comments.

Related posts:

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

Linux Get Ram Slots

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

Linux get ram slots download

Linux Get Ram Slots 2020

Memory Module Information

Linux Get Ram Slots Online

lshw

Linux Get Ram Slots Free

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

Linux Get Ram Slots Download

References

Linux Find Out Ram Slots

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