Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Dec 1998 13:24:15 -0700 (MST)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, grog@lemis.com, obrien@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/systat vmstat.c
Message-ID:  <199812272024.NAA24056@panzer.plutotech.com>
In-Reply-To: <199812270851.TAA04807@godzilla.zeta.org.au> from Bruce Evans at "Dec 27, 98 07:51:28 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812272024.NAA24056>