From owner-freebsd-emulation Fri Nov 3 3:14: 5 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id EEAB737B479 for ; Fri, 3 Nov 2000 03:14:02 -0800 (PST) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id MAA39107; Fri, 3 Nov 2000 12:13:46 +0100 (CET) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Charles Henrich Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: linux sysinfo() References: <20001102113657.B78298@sigbus.com> From: Dag-Erling Smorgrav Date: 03 Nov 2000 12:13:46 +0100 In-Reply-To: Charles Henrich's message of "Thu, 2 Nov 2000 11:36:57 -0800" Message-ID: Lines: 13 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Charles Henrich 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