From owner-freebsd-current Sat Oct 24 12:08:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA01842 for freebsd-current-outgoing; Sat, 24 Oct 1998 12:08:34 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from uni-sb.de (uni-sb.de [134.96.252.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA01832 for ; Sat, 24 Oct 1998 12:08:27 -0700 (PDT) (envelope-from rock@cs.uni-sb.de) Received: from cs.uni-sb.de (cs.uni-sb.de [134.96.252.31]) by uni-sb.de (8.9.0/1998052000) with ESMTP id VAA03793 for ; Sat, 24 Oct 1998 21:07:52 +0200 (CEST) Received: from cs.uni-sb.de (acc1-133.telip.uni-sb.de [134.96.113.133]) by cs.uni-sb.de (8.9.0/1998060300) with ESMTP id VAA04624 for ; Sat, 24 Oct 1998 21:07:51 +0200 (CEST) Message-ID: <363225D2.F8BC6C7F@cs.uni-sb.de> Date: Sat, 24 Oct 1998 21:09:06 +0200 From: Daniel Rock X-Mailer: Mozilla 4.07 [de] (Win98; U) MIME-Version: 1.0 To: current@FreeBSD.ORG Subject: vmstat, nfsstat broken Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, 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. 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. Daniel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message