Date: Sat, 24 Oct 1998 12:42:17 -0700 From: Mike Smith <mike@smith.net.au> To: Daniel Rock <rock@cs.uni-sb.de> Cc: current@FreeBSD.ORG Subject: Re: vmstat, nfsstat broken Message-ID: <199810241942.MAA05846@dingo.cdrom.com> In-Reply-To: Your message of "Sat, 24 Oct 1998 21:09:06 %2B0200." <363225D2.F8BC6C7F@cs.uni-sb.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> vmstat doesn't seem to like ELF kernels. With aout kernels "vmstat -i"
> works, but with ELF ones, I get the following error message:
> vmstat: symbol intrcnt not defined
> After taking a short look at the code, I suspect it may be associated
> with the now missing leading "_" in ELF symbols, but I'm not sure.
It's odd that intrcnt isn't found, but eintrcnt is. If you use 'nm' on
your kernel, is it present as 'intrcnt' or '_intrcnt'?
If you're looking for a small project, it'd be quite neat if you could
clean vmstat up...
> nfsstat seems to be broken for a.out and ELF kernels:
> nfsstat: sysctl: No such file or directory
>
> If I change the sysctl() call to a sysctlbyname("vfs.nfs.nfsstats",...)
> call in nfsstat.c, nfsstat is working again.
Thanks; fixed.
--
\\ Sometimes you're ahead, \\ Mike Smith
\\ sometimes you're behind. \\ mike@smith.net.au
\\ The race is long, and in the \\ msmith@freebsd.org
\\ end it's only with yourself. \\ msmith@cdrom.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810241942.MAA05846>
