From owner-freebsd-hackers Wed Jan 13 11:13:54 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA04493 for freebsd-hackers-outgoing; Wed, 13 Jan 1999 11:13:54 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA04404 for ; Wed, 13 Jan 1999 11:13:31 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id JAA51655; Wed, 13 Jan 1999 09:52:19 -0700 (MST) From: "Kenneth D. Merry" Message-Id: <199901131652.JAA51655@panzer.plutotech.com> Subject: Re: what was the old devstat interface's dk_wds? In-Reply-To: <92363.916241941@axl.noc.iafrica.com> from Sheldon Hearn at "Jan 13, 99 05:39:01 pm" To: axl@iafrica.com (Sheldon Hearn) Date: Wed, 13 Jan 1999 09:52:19 -0700 (MST) Cc: hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sheldon Hearn wrote... > > > On Tue, 12 Jan 1999 21:01:57 MST, "Kenneth D. Merry" wrote: > > > There are a couple of other ports that use the devstat code, in > > addition to systat(1), vmstat(8), and iostat(8). Check out xperfmon, > > and xsysinfo. think they both support devstat. > > Thanks, Kenneth. > > Looking at systat gave me enough to figure out what was needed. So much > so that I shamelessly borrowed its code and changed all of 5 lines. ;) Just remember to give credit if you swipe code. > One question. If buildmatch is passed "da" as match_str, what devices > will I end up selecting? Just SCSI and IDE disk drives? I ask because I > don't really know what "Direct Access devices" does and doesn't include. You'll end up selecting any sort of disk drive. That includes SCSI and IDE disks, and any disks that happen to be on a different type of interface. It doesn't include optical disks, though. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message