GSTAT(8)
π GSTAT(8): print statistics about GEOM disks π
okay so bestie, welcome to the System Manager's Manual page for gstat(8). This utility is literally your little window into I/O transactions of geom(4) devices. It's giving observability, it's giving disk gossip, and it's about to make your terminal look iconic. π
πΈ NAME πΈ
gstat β print statistics about GEOM disks
β¨ SYNOPSIS β¨
gstat [-abBcCdops] [-f filter] [-I interval]
π¦ DESCRIPTION π¦
The gstat utility can be used to monitor I/O transactions of geom(4) devices.
The options are as follows, bestie:
-aβ Only display providers that are at least0.1%busy.-bβ Batch mode. Collect numbers, print and exit. Default ifstdoutis not atty.-Bβ Endless batch mode. Same as batch mode, but does not exit after collecting the first set of data.-cβ Enable display ofgeom(4)consumers too. The default is to show statistics only forgeom(4)producers.-Cβ CSV output mode. Implies endless batch mode, but output is in the form of comma-separated values, with ISO 8601-like timestamps.-dβ Enable display of statistics for delete (BIO_DELETE) operations.-ffilter β A regular expression that can be used to only show statistics for some devices. Only devices with the names matching filter will be displayed. The format of the regular expression is described inre_format(7).-Iinterval β Refresh thegstatdisplay every interval microseconds. Adding a suffix ofs,ms, orus(the default) indicates that the update interval is specified in seconds, milliseconds, or microseconds, respectively.-oβ Enable display of statistics for other operations (BIO_FLUSH).-pβ Only display physical providers (those with rank of1).-sβ Enable blocks' size statistics.
π INTERACTIVE COMMANDS π
These commands are currently recognized if gstat is not running in batch mode:
<β Halve the update interval.>β Double the update interval.cβ Toggle display ofgeom(4)consumers.fβ Display only devices with the names matching regular expression filter (prompt for filter).Fβ Remove device filter.qβ Quitgstat.
π EXIT STATUS π
The gstat utility exits 0 on success, and >0 if an error occurs.
π EXAMPLES π
To filter the output to only physical disks named ada0 through ada4:
# gstat -f ada[0-4]$
π SEE ALSO π
π§ HISTORY π§
A gstat utility appeared in FreeBSD 5.0.
mwah π this Debian edition of GSTAT(8) is dated February 1, 2025 β bye bestie, go check your disks! π«Ά
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π the page's license: BSD-2-Clause
- Copyright (c) 2003 Giorgos Keramidas
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms