From owner-cvs-all Sun Dec 27 12:24:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA00309 for cvs-all-outgoing; Sun, 27 Dec 1998 12:24:44 -0800 (PST) (envelope-from owner-cvs-all@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 MAA00303; Sun, 27 Dec 1998 12:24:42 -0800 (PST) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id NAA24056; Sun, 27 Dec 1998 13:24:15 -0700 (MST) From: "Kenneth D. Merry" Message-Id: <199812272024.NAA24056@panzer.plutotech.com> Subject: Re: cvs commit: src/usr.bin/systat vmstat.c In-Reply-To: <199812270851.TAA04807@godzilla.zeta.org.au> from Bruce Evans at "Dec 27, 98 07:51:28 pm" To: bde@zeta.org.au (Bruce Evans) Date: Sun, 27 Dec 1998 13:24:15 -0700 (MST) Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, grog@lemis.com, obrien@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-cvs-all@FreeBSD.ORG Precedence: bulk Bruce Evans wrote... > >> Modified files: > >> usr.bin/systat vmstat.c > >> Log: > >> Don't waste precious space on showing the performance of fdX. > >> (can get old behavior with -DWANT_FD) > > > >Not that I'll cry any tears over floppies, but I'd guess that those > >who do would also be upset to have to set special flags. Wouldn't it > >be easier to add a flag, say, -reallyusethisoldjunk. > > People would be upset by having to set a special flag like that :-). > > The default should be to sort floppies to the end of the list so that > they fall of the end of the display before more important devices. > Then there should be something like iostat(8)'s devices list, but > actually working (iostat da0 wd0 disorders the devices to wd0 da0 here). There is something like iostat(8)'s devices list. Have you tried: :only da0 wd0 da1 (:show is a synonym) It will show just the devices you ask for. There's also an :ignore statement, a :match statement to match against certain types of devices (like iostat's -t argument). Those arguments work with any of the displays in systat(1) that show the disk devices. The reason that devices in systat, iostat, and vmstat aren't shown in the order they are specified (if they are specified) is because they are displayed as they're found. They're found in probe order. That saves an extra sorting step for each display of statistics. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message