man.bsd.lv manual page server

Manual Page Search Parameters

GSTAT(8) System Manager's Manual GSTAT(8)

gstatprint statistics about GEOM disks

gstat [-abBcdops] [-f filter] [-I interval]

The gstat utility can be used to monitor I/O transactions of geom(4) devices.

The options are as follows:

Only display providers that are at least 0.1% busy.
Batch mode. Collect numbers, print and exit. Default if stdout is not a tty.
Endless batch mode. Same as batch mode, but does not exit after collecting the first set of data.
Enable display of geom(4) consumers too. The default is to show statistics only for geom(4) producers.
CSV output mode. Implies endless batch mode, but output is in the form of comma-separated values, with ISO 8601-like timestamps.
Enable display of statistics for delete (BIO_DELETE) operations.
filter
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 in re_format(7).
Enable display of statistics for other operations (BIO_FLUSH).
Enable blocks' size statistics.
interval
Refresh the gstat display every interval microseconds. Adding a suffix of s, ms, or us (the default) indicates that the update interval is specified in seconds, milliseconds, or microseconds, respectively.
Only display physical providers (those with rank of 1).

The gstat utility exits 0 on success, and >0 if an error occurs.

systat(1), geom(4), iostat(8), vmstat(8)

A gstat utility appeared in FreeBSD 5.0.

August 21, 2018 FreeBSD-12.0