ioztat - a ZFS iostat - now supports FreeBSD! reddit / freebsd ---------------------------------------------------------------------- avgapon · 2022-01-20 09:11 Just in case, there is also ztop https://github.com/asomers/ztop ---------------------------------------------------------------------- tradmusic · 2022-01-20 15:18 Great work, devs! ---------------------------------------------------------------------- grahamperrin · 2022-01-20 18:52 Thanks! Looking forward to the port and package: * FreeBSD bug [261351 – [NEW PORT] sysutils/py-ioztat: Storage load analysis tool for OpenZFS](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261351) ---------------------------------------------------------------------- grahamperrin · 2022-01-29 01:05 % /usr/local/bin/ioztat -z -i 2 august dataset w/s wMB/s r/s rMB/s wareq-sz rareq-sz august ROOT n252531-0ce7909cd0b-d 1.85 0.02 26.48 0.06 8.18 2.32 poudriere data cache 0.01 0.00 0.01 0.00 0.03 0.03 logs 0.06 0.00 0.81 0.00 5.07 0.24 packages 0.23 0.00 0.71 0.01 8.14 13.95 jails main 0.00 0.00 1.23 0.06 0.00 46.24 usr home 33.54 0.37 263.22 4.70 10.98 17.87 ports 0.30 0.00 0.30 0.00 15.48 2.67 src 0.37 0.00 0.92 0.01 11.52 5.95 var log 0.47 0.00 0.00 0.00 0.06 2.56 dataset w/s wMB/s r/s rMB/s wareq-sz rareq-sz august ROOT n252531-0ce7909cd0b-d 0.00 0.00 116.23 1.50 0.00 12.90 usr home 18.96 0.07 4.99 0.13 3.81 26.23 dataset w/s wMB/s r/s rMB/s wareq-sz rareq-sz august ROOT n252531-0ce7909cd0b-d 0.00 0.00 4.98 0.00 0.00 0.17 usr home 0.50 0.00 0.00 0.00 6.24 0.00 … ^C % pkg info -x ioztat py38-ioztat-1.1.0 % uname -KU 1400048 1400048 % ---------------------------------------------------------------------- grahamperrin · 2022-01-29 01:21 > `root@redacted-prod0:~# watch -n1 ioztat -y -c1` 1.1.0 requires a dataset i.e. `gnu-watch -n1 ioztat -z -y -c1 august` I see a flurry of commits since 1.1.0, :-) ---------------------------------------------------------------------- Freeky · 2022-01-29 01:38 There's [plenty more incoming](https://github.com/jimsalterjrs/ioztat/pull/26) shortly. Highlights: * New style that closely resembles zpool-iostat(8) * Scaling to terminal width (and height in -o mode) * -e and -H flags for exact values and plain formatting for scripts * New sort options for IO and throughput (subject to bikeshedding) ---------------------------------------------------------------------- grahamperrin · 2022-01-29 01:44 Big thanks. Will `-o` become an option on FreeBSD? I saw ---------------------------------------------------------------------- Freeky · 2022-01-29 01:52 Yes, that's what I'm developing it on :) Should be merging to main soon - testers will be very welcome given so much has changed.