BSD Ports

sysutils/gstat-rs 0.1.9_3 FreeBSD

Replacement for gstat(8)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
BSD2CLAUSE
Categories
sysutils
Package size
776.0 KiB, 2173.1 KiB installed

Description

Replacement for gstat(8)

This is a gstat replacement, written in Rust. It is more featureful than the original, and works much better on systems with large numbers 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.

Install

Binary package:

pkg install gstat-rs

From the ports tree:

cd /usr/ports/sysutils/gstat-rs/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	gstat-rs>0:sysutils/gstat-rs

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.1.9_20.1.9_3-0.1.6_130.1.9_3
FreeBSD:14:quarterly0.1.9_20.1.9_2n/a0.1.6_120.1.9_2
FreeBSD:15:latest0.1.9_30.1.9_3n/a0.1.6_130.1.6_13
FreeBSD:15:quarterly0.1.9_20.1.9_2n/an/an/a
FreeBSD:16:latest0.1.9_20.1.9_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11

No port depends on this one.

Configuration

No options to configure.

USES
cargo
Service scripts
none

Message after installing

To use gstat-rs by default, do the following:
For sh:
# echo alias gstat='/usr/local/sbin/gstat-rs' >> /etc/profile
For bash:
# echo alias gstat='/usr/local/sbin/gstat-rs' >> /usr/local/etc/profile
For fish:
# echo alias gstat='/usr/local/sbin/gstat-rs' >> /usr/local/etc/fish/config.fish
For zsh:
# echo alias gstat='/usr/local/sbin/gstat-rs' >> /usr/local/etc/zshrc

Files

distinfo 176
FileSizeSHA256
rust/crates/aho-corasick-1.1.3.crate1833118e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916
rust/crates/allocator-api2-0.2.21.crate63622683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923
rust/crates/anstream-0.6.19.crate28767301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933
rust/crates/anstyle-1.0.11.crate15880862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd
rust/crates/anstyle-parse-0.2.7.crate217074e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2
rust/crates/anstyle-query-1.1.3.crate101906c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9
rust/crates/anstyle-wincon-3.0.9.crate12561403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882
rust/crates/anyhow-1.0.103.crate487462a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3
rust/crates/approx-0.5.1.crate15100cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6
rust/crates/atomic-waker-1.1.2.crate124221505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0
rust/crates/autocfg-1.4.0.crate17712ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26
rust/crates/axum-0.8.6.crate1785818a18ed336352031311f4e0b4dd2ff392d4fbb370777c9d18d7fc9d7359f73871
rust/crates/axum-core-0.5.5.crate2691959446ce19cd142f8833f856eb31f3eb097812d1479ab224f54d72428ca21ea22
rust/crates/bitfield-0.13.2.crate1647946afbd2983a5d5a7bd740ccb198caf5b82f45c40c09c0eed36052d91cb92e719
rust/crates/bitflags-2.10.0.crate48427812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3
rust/crates/bytes-1.11.1.crate785841e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33
rust/crates/castaway-0.2.3.crate115090abae9be0aaf9ea96a3b1b8b1b55c602ca751eba1b1500220cea4ecbafe7c0d5
rust/crates/cfg-if-1.0.1.crate86839555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268
rust/crates/clap-4.5.40.crate5741940b6887a1d8685cebccf115538db5c0efe625ccac9696ad45c409d96566e910f
rust/crates/clap_builder-4.5.40.crate169191e0c66c08ce9f0c698cbce5c0279d0bb6ac936d8674174fe48f736533b964f59e

Commit history 3

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645