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:

free

One second data update:

free -s 1

Display information in megabytes:

free -m

Leave a Reply