Subject: Re: vmstat and netstat....
To: None <email@example.com>
From: Quentin Garnier <firstname.lastname@example.org>
Date: 03/27/2006 12:24:43
Content-Type: text/plain; charset=us-ascii
On Mon, Mar 27, 2006 at 12:02:51PM +0200, email@example.com wrote:
> > It was recently pointed out that a few commands (vmstat, netstat)
> > require a kernel file (/netbsd) in the root filesystem in order to
> > provide, for example, accurate statistics.
> That's not true. When I added /dev/ksyms a few years ago I changed
> the kvm routines to try that first. Only if you have removed the
> ksyms pseudo-device the tools will use the /netbsd namelist.
In some situations ksyms are unusable because the kernel was passed
wrong data about symbol table location. This is the case when GRUB is
used to boot netbsd directly.
However, the Xen hypervisor doesn't seem to suffer from that issue, at
least it doesn't on my installation.
Quentin Garnier - firstname.lastname@example.org - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
-----END PGP SIGNATURE-----