summaryrefslogtreecommitdiffstats
path: root/usr.sbin/gstat/gstat.8
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2006-05-20 19:17:47 +0000
committersimon <simon@FreeBSD.org>2006-05-20 19:17:47 +0000
commitf767e585afd0496ffffe56580b887b1dc55eb0fe (patch)
tree0d4a75702d83170e423daf37e4a073c8f7658f0c /usr.sbin/gstat/gstat.8
parentc1590119a64caa45fdd2f78f22fd55031b1ac64b (diff)
downloadFreeBSD-src-f767e585afd0496ffffe56580b887b1dc55eb0fe.zip
FreeBSD-src-f767e585afd0496ffffe56580b887b1dc55eb0fe.tar.gz
- Add support for filtering the the list of providers by a regular
expression, which makes it possible to only see interesting providers. "f" is used inside gstat to set a filter, "F" is used to remove current filter. - Do not print some uninteresting values in the gstat title line. - Do not print past the end of the screen. - Read multiple keystrokes per "wait" when gstat is running. - Remove a redundant != check, right after check of NULL against the same variable ("gid"). - Use sysexits.h. - Do not link against libkvm and libsbuf, they are not actually used. - Fix a few style(9) issues where I had to touch nearby code anyway. Approved by: cperciva (mentor) MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/gstat/gstat.8')
-rw-r--r--usr.sbin/gstat/gstat.811
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/gstat/gstat.8 b/usr.sbin/gstat/gstat.8
index 2dce5c3..08a92fb 100644
--- a/usr.sbin/gstat/gstat.8
+++ b/usr.sbin/gstat/gstat.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 3, 2003
+.Dd May 20, 2006
.Dt GSTAT 8
.Os
.Sh NAME
@@ -33,6 +33,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl acd
+.Op Fl f Ar filter
.Op Fl I Ar interval
.Sh DESCRIPTION
The
@@ -56,6 +57,14 @@ producers.
Enable display of statistics for delete
.Pq Dv BIO_DELETE
operations.
+.It Fl f Ar filter
+A regular expression that can be used to only show statistics for some
+devices.
+Only devices which name match
+.Ar filter
+will be displayed.
+The format of the regular expression is described in
+.Xr re_format 7 .
.It Fl I Ar interval
Refresh the
.Nm
OpenPOWER on IntegriCloud