[lkml]   [2001]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[Fwd: Re: Total RAM in the system]
hi Mike,
i tried that already on a 2.2.18 kernel and
num_physpages is not
exported. num_physpages does not contain the
actual RAM present
in the system.

i booted up my linux with command line parameter
but my machine actually had 128M RAM. and from KDB
i inspected
num_physpages which showed me only 32M


Mike Galbraith wrote:
> On Wed, 11 Jul 2001, N. Varadarajan wrote:
> > Hi,
> > Is there a way to know the amount of physical RAM
> > present in the system from a loadable kernel
> > module
> Yes.. num_physpages is an exported symbol.
> -Mike
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:56    [W:0.034 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site