View information about RAM in Ubuntu

To view information about the installed RAM and information about the slots, you can use the following commands:

sudo dmidecode -t memory
sudo lshw -C memory

The amount of free and used RAM space can be viewed by running the command:


One second data update:

free -s 1

Display information in megabytes:

free -m
Did my article help you? How about buying me a cup of coffee as an encouragement? Buy me a coffe.

Leave a comment

Leave a Reply