I\'m typing a shell script to find out the total physical memory in some RHEL linux boxes.
First of all I want to stress that I\'m interested in the total ph
If you're interested in the physical RAM, use the command dmidecode. It gives you a lot more information than just that, but depending on your use case, you might also want to know if the 8G in the system come from 2x4GB sticks or 4x2GB sticks.
dmidecode