waitstat

Crates.iowaitstat
lib.rswaitstat
version1.0.0
created_at2025-06-01 11:29:06.85062+00
updated_at2025-06-01 18:48:22.252697+00
descriptionAwait output of another program (e.g. iostat) dropping below a threshold.
homepage
repositoryhttps://codeberg.org/Freddy404/waitstat
max_upload_size
id1697054
size15,374
Philipp Caratiola (Freddy404)

documentation

README

waitstat

Await output of another program dropping below a threshold. E.g. wait for iostat to show low activity. Use -c flag if that program uses ',' as the decimal separator!

Examples

Wait for iostat to show less than 100 kB_read/s on nvme0n1p1 in the last 30s:

waitstat -t 100 -f 2 -- iostat -dy -p nvme0n1p1 30

Wait for zero activity in the last 60s on a zfs pool:

waitstat -t 1 -f 3,4,5,6 -- zpool iostat -yH pool1 60
Commit count: 0

cargo fmt