GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GSTAT(8) FreeBSD System Manager's Manual GSTAT(8)

gstatprint statistics about GEOM disks

gstat [-adhospRrS] [-f filter] [-I interval] [-S key]

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

The options are as follows:

, --auto
Only display providers that are at least 0.1% busy.
, --delete
Enable display of statistics for delete (BIO_DELETE) operations.
, --filter 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 at https://docs.rs/regex.
, --other
Enable display of statistics for other operations (BIO_FLUSH).
, --size
Enable blocks' size statistics.
, --interval 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.
, --physical
Only display physical providers (those with rank of 1).
, --reset-config
Reset the configuration to defaults.
, --reverse
Reverse the sort order
, --column column
Sort the devices by column. The spelling of column should match the displayed column header.

gstat displays information about the performance of GEOM devices. It can be configured from the command line, or on-line by interactive commands. In either case, the configuration will be automatically saved between invocations. It is based on the familiar gstat command from FreeBSD, but with several notable changes:

  • It can sort the devices.
  • It can display or hide arbitrary columns of data.
  • If the screen has enough space, it will display multiple devices side-by-side.
  • It can pause the display temporarily.
  • Its settings are automatically persisted to a configuration file.
  • It does not support batch mod (the -bBC flags). If you need batch mode, you should use iostat(8) instead.
  • It does not display GEOM consumers, only producers.

These commands are currently recognized.

Pause/unpause updating the display.
<UP ARROW>
Select one row of the table. This is purely for visual focus purposes. It has no other effect.
Delete the selected sort column from the display.
Bring up the column selector dialog box. This can be used to control exactly which columns are displayed.
Sort by the next column to the right.
-
Sort by the next column to the left.
Halve the update interval.
Double the update interval.
Toggle auto mode. This has the same effect as the --auto command line option.
Display only devices with the names matching a regular expression (prompt for filter expression).
Remove device filter.
Toggle physical mode. This has the same effect as the --physical command line option.
Quit
Toggle reverse sort. This has the same effect as the --reverse command line option.

The following environment variable affects the execution of gstat:

Output will be rendered in black-and-white only, without color.

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. It was rewritten in Rust during 2021 by Alan Somers <asomers@FreeBSD.org> under the sponsorship of Axcient.

February 4, 2024 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.