From owner-freebsd-stable Sat Mar 10 5:52:26 2001 Delivered-To: freebsd-stable@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id 9F3FF37B718 for ; Sat, 10 Mar 2001 05:52:20 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (doconnor@cain [203.38.152.97]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id TAA09405; Fri, 9 Mar 2001 19:05:59 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 09 Mar 2001 19:05:59 +1030 (CST) From: "Daniel O'Connor" To: Mikhail Kruk Subject: Re: top/systat Cc: stable@freebsd.org, Andrew Hesford Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 09-Mar-01 Mikhail Kruk wrote: > > In either case, the kernel symbols aren't loaded, and top relies on > > them. > > btw this doesn't seem to make sense. I'd appreciate if you point me to > something that would clarify this to me. I don't understand how top and > friends use the symbols in kernel and I feel that I would like to know > that. top et al open /dev/kmem (which is a file by which you can read kernel memory) and then look for these symbols and read the data straight out of kernel space.. Efficient but gross :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message