#freebsd #free-bsd

app gstat

Enhanced replacement for FreeBSD's gstat utility

5 releases

new 0.1.4 Sep 22, 2023
0.1.3 May 29, 2023
0.1.2 Jul 30, 2021
0.1.1 Jul 16, 2021
0.1.0 Jul 15, 2021

#581 in Command line utilities

40 downloads per month


1.5K SLoC


An enhanced replacement for FreeBSD's gstat(8) utility.

Build Status Crates.io


gstat is awesome, but it has some limitations that come into play on larger systems. gstat-rs is designed to work better even on servers with hundreds of disks. The key differences are:

  • gstat-rs supports sorting the disks using the '+', '-', and 'r' keys, and the "--sort" and "-r" command line options.
  • gstat-rs can enable/disable columns at any time using the insert and delete keys. gstat can only do that at startup, and only for certain infrequently used columns.
  • If the screen has enough space, gstat-rs will display multiple disks side by side.
  • gstat-rs can pause the display without exiting the program.
  • gstat-rs's settings are automatically persisted to a config file.
  • gstat-rs does not support batch mode (-bBC) output. If you want that kind of information, use iostat(8) instead.
  • gstat-rs does not display GEOM consumers (-c), but it can easily be added if there's any demand for that feature.


gstat-rs demonstrating side-by-side mode, sorting by %busy. Screenshot 1

Minimum Supported Rust Version (MSRV)

gstat-rs does not guarantee any specific MSRV. Rather, it guarantees compatibility with the oldest rustc shipped in the current FreeBSD ports tree.


gstat-rs is primarily distributed under the terms of the BSD 2-clause license.

See LICENSE for details.


gstat-rs is sponsored by Axcient, inc.


~190K SLoC