Skip site navigation (1)Skip section navigation (2)
Date:      03 Nov 2000 12:13:46 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Charles Henrich <henrich@sigbus.com>
Cc:        freebsd-emulation@FreeBSD.ORG
Subject:   Re: linux sysinfo()
Message-ID:  <xzpd7gdl34l.fsf@flood.ping.uio.no>
In-Reply-To: Charles Henrich's message of "Thu, 2 Nov 2000 11:36:57 -0800"
References:  <20001102113657.B78298@sigbus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Charles Henrich <henrich@sigbus.com> writes:
> I've just found a man page on it, its a pretty simple function:
> [...]
> Which FreeBSD has no equivilances for.  All I can see if the poking about in
> kernel memory.  Does anyone have any pointers on how to do such a thing from
> kernel space?

Look at linprocfs_domeminfo() in sys/i386/linux/linprocfs/linprocfs_misc.c
for info on how to acquire that information.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpd7gdl34l.fsf>