/proc/meminfo command is used to display the actual used memory as well as free memory on the server. It includes the information of swap partition too. Here is the command to display the used and remaining RAM on the server -
$ less /proc/meminfo
or $ cat /proc/meminfo
One more command is there, which provides the output in the human readable format that is free -m.