[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Memory detection



On Thu, 2003-11-13 at 19:46, Michael Blandford wrote:
> Can anyone suggest a reliable method of detecting the amount of memory 
> is in an ia32 machine during the install when it is running the -BOOT 
> kernel?

/proc/meminfo will tell you if you have less than 896 megs of RAM in the
machine (the -BOOT kernel is built without CONFIG_HIGHMEM).  If you care
about more than that, /proc/e820info will provide the information.  The
easiest thing to do, though, is just to use the snippet of python that
Chris posted :)

Jeremy




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]