cvs commit: src/sys/i386/i386 machdep.c src/sys/kern kern_mib.c
src/sys/sys sysctl.h systm.h
David O'Brien
obrien at freebsd.org
Mon Feb 28 22:34:59 GMT 2005
On Mon, Feb 28, 2005 at 01:59:42PM -0800, Wes Peters wrote:
> On Monday 28 February 2005 01:42 pm, Wes Peters wrote:
> > wes 2005-02-28 21:42:57 UTC
> >
> > FreeBSD src repository
> >
> > Modified files:
> > sys/i386/i386 machdep.c
> > sys/kern kern_mib.c
> > sys/sys sysctl.h systm.h
> > Log:
> > Add a sysctl that records the amount of physical memory in the machine.
>
> In case you're wondering why anyone would want this, vs. the already
> existing hw.physmem, consider:
>
> hw.physmem: 526737408
> hw.usermem: 509272064
> hw.realmem: 535691264
Should this become hw.mem.{phys,user,real} to make it easer to access
them? ''sysctl hw.mem''
--
-- David (obrien at FreeBSD.org)
More information about the cvs-all
mailing list