| Crates.io | waitstat |
| lib.rs | waitstat |
| version | 1.0.0 |
| created_at | 2025-06-01 11:29:06.85062+00 |
| updated_at | 2025-06-01 18:48:22.252697+00 |
| description | Await output of another program (e.g. iostat) dropping below a threshold. |
| homepage | |
| repository | https://codeberg.org/Freddy404/waitstat |
| max_upload_size | |
| id | 1697054 |
| size | 15,374 |
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!
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