how to check memory ubuntu code example
Example 1: ubuntu memory command line
watch -n 5 free -m
Example 2: how can I check the memory of computer in ubuntu
$ sudo apt-get update
$ sudo apt install htop
$ htop
Example 3: check details of installed memory in ubuntu
sudo lshw -short -C memory