From owner-freebsd-hackers Tue Jan 12 15:35:29 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA04363 for freebsd-hackers-outgoing; Tue, 12 Jan 1999 15:35:29 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA04357 for ; Tue, 12 Jan 1999 15:35:22 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 2.10 #1) id 100DKa-000APT-00 for hackers@freebsd.org; Wed, 13 Jan 1999 01:34:40 +0200 From: Sheldon Hearn To: hackers@FreeBSD.ORG Subject: what was the old devstat interface's dk_wds? Date: Wed, 13 Jan 1999 01:34:40 +0200 Message-ID: <40018.916184080@axl.noc.iafrica.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi folks, I'm trying to teach sysutils/xosview about the new kernel device statistics interface so that its DiskMeter will work for CURRENT. At the moment, it expects FreeBSD to use "the older method" for pulling device statistics out of the kernel. I'm getting to grips with devstat(3) and the source for iostat, but I still need to understand how "the older method" worked, so that I can translate what xosview wants to do into what it should do. I would greatly appreciate it if someone could help me with one of the following: 1) A pointer to the devstat(3) manpage's predecessor. OR 2) An explanation of the timeframe context for a comment like this one from STABLE's /usr/include/sys/dkstat.h: extern long dk_wds[DK_NDRIVE]; /* # blocks of 32*16-bit words transferred */ It's the number of 32*16-bit words transferred since when? Thanks, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message