summaryrefslogtreecommitdiffstats
path: root/usr.sbin/gstat/gstat.8
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2016-11-25 05:54:17 +0000
committeraraujo <araujo@FreeBSD.org>2016-11-25 05:54:17 +0000
commit7e1d7cd06cc4c2bc9179a377342f9c90f0f3f6e0 (patch)
treeb92fdc778a22f497f3d098439c7eedf3ee780b0d /usr.sbin/gstat/gstat.8
parentda711180e126400521ec0737a553061f9230d0bd (diff)
downloadFreeBSD-src-7e1d7cd06cc4c2bc9179a377342f9c90f0f3f6e0.zip
FreeBSD-src-7e1d7cd06cc4c2bc9179a377342f9c90f0f3f6e0.tar.gz
MFC r308443, r308459, r308462, r308478, r308786
r308443: Add -d flag that prints domain only. PR: 212875 Submitted by: Ben RUBSON <ben.rubson@gmail.com> Reviewed by: pi r308459: Fix missing '-' for the flags -s and -d on both manpage and usage. Reported by: garga, bde r308462: Add flag -B which does the same like batch mode but without exiting after print. Also add a new flag -s that add blocks size to statistics. PR: 198347, 212726 Submitted by: Ben RUBSON <ben.rubson@gmail.com> Tested by: pi MFC After: 2 weeks. r308478: We can't use protect(1) inside a jail(8)! To avoid have warning for services that are using oomprotect, oomprotect will only be applied on services that won't run inside jails. Reported by: allanjude MFC after: 2 weeks. r308786: rc.subr: Swap checks so we only fork sysctl if *_oomprotect is set.
Diffstat (limited to 'usr.sbin/gstat/gstat.8')
-rw-r--r--usr.sbin/gstat/gstat.810
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.sbin/gstat/gstat.8 b/usr.sbin/gstat/gstat.8
index 6c0430e..0c8ce3f 100644
--- a/usr.sbin/gstat/gstat.8
+++ b/usr.sbin/gstat/gstat.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 3, 2014
+.Dd November 10, 2016
.Dt GSTAT 8
.Os
.Sh NAME
@@ -32,7 +32,7 @@
.Nd print statistics about GEOM disks
.Sh SYNOPSIS
.Nm
-.Op Fl abcdop
+.Op Fl abBcdops
.Op Fl f Ar filter
.Op Fl I Ar interval
.Sh DESCRIPTION
@@ -50,6 +50,10 @@ Only display providers that are at least 0.1% busy.
Batch mode.
Collect numbers, print and exit.
Default if stdout is not a tty.
+.It Fl B
+Endless batch mode.
+Same as batch mode, but does not exit after collecting
+the first set of data.
.It Fl c
Enable display of
.Xr geom 4
@@ -72,6 +76,8 @@ The format of the regular expression is described in
.It Fl o
Enable display of statistics for other operations
.Pq Dv BIO_FLUSH .
+.It Fl s
+Enable blocks' size statistics.
.It Fl I Ar interval
Refresh the
.Nm
OpenPOWER on IntegriCloud