summaryrefslogtreecommitdiffstats
path: root/usr.sbin/gstat
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2003-03-22 09:44:56 +0000
committerkeramida <keramida@FreeBSD.org>2003-03-22 09:44:56 +0000
commit1746b69bcdd44924d943bd346d1a7aec9dae0a0e (patch)
tree97e441a54d6ce1e608f16a0d3daa5a7b33292841 /usr.sbin/gstat
parent7dbdb2c2f17774893f662189d9ec5bf452d5876b (diff)
downloadFreeBSD-src-1746b69bcdd44924d943bd346d1a7aec9dae0a0e.zip
FreeBSD-src-1746b69bcdd44924d943bd346d1a7aec9dae0a0e.tar.gz
Add a small manpage.
Diffstat (limited to 'usr.sbin/gstat')
-rw-r--r--usr.sbin/gstat/gstat.887
1 files changed, 87 insertions, 0 deletions
diff --git a/usr.sbin/gstat/gstat.8 b/usr.sbin/gstat/gstat.8
new file mode 100644
index 0000000..c4dbe3d
--- /dev/null
+++ b/usr.sbin/gstat/gstat.8
@@ -0,0 +1,87 @@
+.\" Copyright (c) 2003 Giorgos Keramidas
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" $FreeBSD$
+.\"
+.Dd September 15, 2001
+.Dt GSTAT 8
+.Os
+.Sh NAME
+.Nm gstat
+.Nd print statistics about geom disks
+.Sh SYNOPSIS
+.Nm
+.Op Fl c
+.Op Fl I Ar interval
+.Sh DESCRIPTION
+The
+.Nm
+utility can be used to monitor I/O transactions of
+.Xr geom 4
+devices.
+.Pp
+The options are as follows:
+.Bl -tag -width indent
+.It Fl c
+Enable display of
+.Xr geom 4
+consumers too.
+The default is to show statistics only for
+.Xr geom 4
+producers.
+.It Fl I Ar interval
+Refresh the
+.Nm
+display every
+.Ar interval
+microseconds.
+You can add a suffix of
+.Cm s ,
+.Cm ms ,
+or
+.Cm us
+(the default) to indicate that the update interval is specified in
+seconds, milliseconds or microseconds respectively.
+.El
+.Sh DIAGNOSTICS
+.Ex -std
+.Sh SEE ALSO
+.Xr geom 4
+.Sh HISTORY
+A
+.Nm
+utility appeared in
+.Fx 5.0 .
+.Sh BUGS
+The
+.Nm
+utility only works interactively.
+It should probably detect when it is run non-interactively and produce
+simple
+.Tn ASCII
+text output.
+Otherwise, this utility should probably be folded into
+.Xr systat 1
+which only works interactively and is the obvious utility to run for
+various other forms of system statistics.
OpenPOWER on IntegriCloud