We can use the following commands to find out actual RAM size under Linux/Unix operating systems
prtconf | head -3 |grep Mem
The top command provides a dynamic real-time view of a running system including a quick summary information about RAM, CPU as well as a list of tasks currently being managed by the Linux kernel. Type the following command: