I have the same question like this, but for macOS.
There is a GUI solution with Activity Monitor. Any command line alternative? I use latest macOS Sierra.
activity-monitorcommand linehomebrewterminal
I have the same question like this, but for macOS.
There is a GUI solution with Activity Monitor. Any command line alternative? I use latest macOS Sierra.
Best Answer
iotop is available in macOS/OS X itself.
iotop relies on dtrace though and you have to disable SIP in systems like El Capitan/Sierra to run dtrace.
Check
man iotop
for options and then execute iotop as root :