How to check how much ram on Linux server

shell
hardware
sysadmin
centos7

#1

I have another query. I need to know how much ram installed on my CentOS 7 Linux server. I know in desktop it tells you easily. But, I need to check and see how mich RAM on Linux box. What command I type to see such information?


#2

To check your RAM size on Linux box, use any one of the following command:

cat /proc/meminfo

OR

free -m
free -k

See

Another option is to run htop/top command:

top
htop

Or use https://www.cyberciti.biz/faq/ram-size-linux/

sudo dmidecode --type memory