I want to monitor hard disk busy time (as a percentage) to find out when the disk is causing a bottleneck in my workflow. On linux / BSD this can be done with iostat -x
to see extended statistics including %util
. But the -x
option is missing in macOS implementation of iostat
. Is there any other tool that can get this information?
Example output from CentOS:
$ iostat -dx sdb -c 1
Linux 4.18.0-348.7.1.el8_5.x86_64 (localhost.localdomain) 04/11/2022 _x86_64_ (64 CPU)
Device r/s w/s rkB/s wkB/s rrqm/s wrqm/s %rrqm %wrqm r_await w_await aqu-sz rareq-sz wareq-sz svctm %util
sdb 0.00 494.00 0.00 505856.00 0.00 0.00 0.00 0.00 0.00 12.46 6.16 0.00 1024.00 2.02 100.00