[Discuss] Limiting amount of memory

Richard Pieri richard.pieri at gmail.com
Thu Sep 12 19:58:56 EDT 2013


Tim Callaghan wrote:
> What am I missing?

free tells you what's available, not what's actually detected, for a 
variety of reasons. What you really want is the first line of /proc/meminfo.

   head -1 /proc/meminfo

That will tell you precisely how much real, physical memory the kernel 
detects.

-- 
Rich P.



More information about the Discuss mailing list