1ceecf6a7SGiorgos Keramidas.\" Copyright (c) 2003 Giorgos Keramidas 2ceecf6a7SGiorgos Keramidas.\" All rights reserved. 3ceecf6a7SGiorgos Keramidas.\" 4ceecf6a7SGiorgos Keramidas.\" Redistribution and use in source and binary forms, with or without 5ceecf6a7SGiorgos Keramidas.\" modification, are permitted provided that the following conditions 6ceecf6a7SGiorgos Keramidas.\" are met: 7ceecf6a7SGiorgos Keramidas.\" 1. Redistributions of source code must retain the above copyright 8ceecf6a7SGiorgos Keramidas.\" notice, this list of conditions and the following disclaimer. 9ceecf6a7SGiorgos Keramidas.\" 2. Redistributions in binary form must reproduce the above copyright 10ceecf6a7SGiorgos Keramidas.\" notice, this list of conditions and the following disclaimer in the 11ceecf6a7SGiorgos Keramidas.\" documentation and/or other materials provided with the distribution. 12ceecf6a7SGiorgos Keramidas.\" 13ceecf6a7SGiorgos Keramidas.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14ceecf6a7SGiorgos Keramidas.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15ceecf6a7SGiorgos Keramidas.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16ceecf6a7SGiorgos Keramidas.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17ceecf6a7SGiorgos Keramidas.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18ceecf6a7SGiorgos Keramidas.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19ceecf6a7SGiorgos Keramidas.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20ceecf6a7SGiorgos Keramidas.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21ceecf6a7SGiorgos Keramidas.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22ceecf6a7SGiorgos Keramidas.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23ceecf6a7SGiorgos Keramidas.\" SUCH DAMAGE. 24ceecf6a7SGiorgos Keramidas.\" 25*43986288SFernando Apesteguía.Dd January 1, 2021 26ceecf6a7SGiorgos Keramidas.Dt GSTAT 8 27ceecf6a7SGiorgos Keramidas.Os 28ceecf6a7SGiorgos Keramidas.Sh NAME 29ceecf6a7SGiorgos Keramidas.Nm gstat 30e6f5d394SRuslan Ermilov.Nd print statistics about GEOM disks 31ceecf6a7SGiorgos Keramidas.Sh SYNOPSIS 32ceecf6a7SGiorgos Keramidas.Nm 33712a6ae6SMarcelo Araujo.Op Fl abBcdops 34711385c9SSimon L. B. Nielsen.Op Fl f Ar filter 35ceecf6a7SGiorgos Keramidas.Op Fl I Ar interval 36ceecf6a7SGiorgos Keramidas.Sh DESCRIPTION 37ceecf6a7SGiorgos KeramidasThe 38ceecf6a7SGiorgos Keramidas.Nm 39ceecf6a7SGiorgos Keramidasutility can be used to monitor I/O transactions of 40ceecf6a7SGiorgos Keramidas.Xr geom 4 41ceecf6a7SGiorgos Keramidasdevices. 42ceecf6a7SGiorgos Keramidas.Pp 43ceecf6a7SGiorgos KeramidasThe options are as follows: 44ceecf6a7SGiorgos Keramidas.Bl -tag -width indent 45be75dba7SLukas Ertl.It Fl a 46be75dba7SLukas ErtlOnly display providers that are at least 0.1% busy. 47a0312e48SUlf Lilleengen.It Fl b 4862bc2068SMaxim KonovalovBatch mode. 4962bc2068SMaxim KonovalovCollect numbers, print and exit. 5062bc2068SMaxim KonovalovDefault if stdout is not a tty. 51712a6ae6SMarcelo Araujo.It Fl B 52712a6ae6SMarcelo AraujoEndless batch mode. 53712a6ae6SMarcelo AraujoSame as batch mode, but does not exit after collecting 54712a6ae6SMarcelo Araujothe first set of data. 55ceecf6a7SGiorgos Keramidas.It Fl c 56ceecf6a7SGiorgos KeramidasEnable display of 57ceecf6a7SGiorgos Keramidas.Xr geom 4 58ceecf6a7SGiorgos Keramidasconsumers too. 59ceecf6a7SGiorgos KeramidasThe default is to show statistics only for 60ceecf6a7SGiorgos Keramidas.Xr geom 4 61ceecf6a7SGiorgos Keramidasproducers. 620b9079bfSMarcelo Araujo.It Fl C 630b9079bfSMarcelo AraujoCSV output mode. 640b9079bfSMarcelo AraujoImplies endless batch mode, but output is in the form of comma-separated 650b9079bfSMarcelo Araujovalues, with ISO 8601-like timestamps. 66fbbe961cSPoul-Henning Kamp.It Fl d 67b18b186eSRuslan ErmilovEnable display of statistics for delete 68b18b186eSRuslan Ermilov.Pq Dv BIO_DELETE 69b18b186eSRuslan Ermilovoperations. 70711385c9SSimon L. B. Nielsen.It Fl f Ar filter 71711385c9SSimon L. B. NielsenA regular expression that can be used to only show statistics for some 72711385c9SSimon L. B. Nielsendevices. 73ae67ba29SRuslan ErmilovOnly devices with the names matching 74711385c9SSimon L. B. Nielsen.Ar filter 75711385c9SSimon L. B. Nielsenwill be displayed. 76711385c9SSimon L. B. NielsenThe format of the regular expression is described in 77711385c9SSimon L. B. Nielsen.Xr re_format 7 . 7816f6e715SAlexander Motin.It Fl o 7916f6e715SAlexander MotinEnable display of statistics for other operations 8016f6e715SAlexander Motin.Pq Dv BIO_FLUSH . 81712a6ae6SMarcelo Araujo.It Fl s 82712a6ae6SMarcelo AraujoEnable blocks' size statistics. 83ceecf6a7SGiorgos Keramidas.It Fl I Ar interval 84ceecf6a7SGiorgos KeramidasRefresh the 85ceecf6a7SGiorgos Keramidas.Nm 86ceecf6a7SGiorgos Keramidasdisplay every 87ceecf6a7SGiorgos Keramidas.Ar interval 88ceecf6a7SGiorgos Keramidasmicroseconds. 89e6f5d394SRuslan ErmilovAdding a suffix of 90e6f5d394SRuslan Ermilov.Cm s , ms , 91ceecf6a7SGiorgos Keramidasor 92ceecf6a7SGiorgos Keramidas.Cm us 93e6f5d394SRuslan Ermilov(the default) indicates that the update interval is specified in 94e6f5d394SRuslan Ermilovseconds, milliseconds, or microseconds, respectively. 95f7317857SXin LI.It Fl p 96f7317857SXin LIOnly display physical providers (those with rank of 1). 97ceecf6a7SGiorgos Keramidas.El 98cfaa2958SFernando Apesteguía.Sh INTERACTIVE COMMANDS 99cfaa2958SFernando ApesteguíaThese commands are currently recognized if 100cfaa2958SFernando Apesteguía.Nm 101cfaa2958SFernando Apesteguíais not running in batch mode: 102cfaa2958SFernando Apesteguía.Bl -tag -width indent 103cfaa2958SFernando Apesteguía.It Ic < 104cfaa2958SFernando ApesteguíaHalve the update interval. 105cfaa2958SFernando Apesteguía.It Ic > 106cfaa2958SFernando ApesteguíaDouble the update interval. 107cfaa2958SFernando Apesteguía.It Ic c 108cfaa2958SFernando ApesteguíaToggle display of 109cfaa2958SFernando Apesteguía.Xr geom 4 110cfaa2958SFernando Apesteguíaconsumers. 111cfaa2958SFernando Apesteguía.It Ic f 112cfaa2958SFernando ApesteguíaDisplay only devices with the names matching regular expression filter 113cfaa2958SFernando Apesteguía(prompt for filter). 114cfaa2958SFernando Apesteguía.It Ic F 115cfaa2958SFernando ApesteguíaRemove device filter. 116cfaa2958SFernando Apesteguía.It Ic q 117cfaa2958SFernando ApesteguíaQuit 118cfaa2958SFernando Apesteguía.Nm . 119cfaa2958SFernando Apesteguía.El 120a866e170SRuslan Ermilov.Sh EXIT STATUS 121ceecf6a7SGiorgos Keramidas.Ex -std 122ceecf6a7SGiorgos Keramidas.Sh SEE ALSO 12324c5a5ebSGiorgos Keramidas.Xr systat 1 , 12424c5a5ebSGiorgos Keramidas.Xr geom 4 , 12524c5a5ebSGiorgos Keramidas.Xr iostat 8 , 12624c5a5ebSGiorgos Keramidas.Xr vmstat 8 127ceecf6a7SGiorgos Keramidas.Sh HISTORY 128ceecf6a7SGiorgos KeramidasA 129ceecf6a7SGiorgos Keramidas.Nm 130ceecf6a7SGiorgos Keramidasutility appeared in 131ceecf6a7SGiorgos Keramidas.Fx 5.0 . 132