Linux How to Find Physical Memory Size in Pages

May 7, 2018 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Linux Physical Memory Size in Pages

This Tip Show You How to Find Physical Memory Size in Pages on GNU/Linux Systems.

Linux How to Find Physical Memory Size in Pages - Featured

Find it directly with:

getconf -a | grep _PHYS_PAGES

Or if you want to Find RAM Size in KB and then Divide by 4, because each Page is 4Kb wide.

So again to Check, first find the Total RAM amount in Kb:

cat /proc/meminfo | grep MemTotal

Then Dividing by 4 you have to Get the Save Value as Above!


QuickChic Theme • Powered by WordPress