Tengo la misma pregunta como esta, pero para macOS.
Hay una solución GUI con Monitor de actividad. ¿Alguna alternativa de línea de comandos? Uso la última versión de macOS Sierra.
iotop está disponible en macOS/OS X.
Sin embargo, iotop se basa en dtrace y debe deshabilitar SIP en sistemas como El Capitan/Sierra para ejecutar dtrace.
Verifique man iotop
las opciones y luego ejecute iotop como root:
sudo iotop [-C] [-D|-o|-P] [-j|-Z] [-d device] [-f filename] [-m mount_point] [-t top] [interval [count]]
sudo fs_usage -f diskio
no es lo mismo que iotop, pero viene con el sistema operativo y no tienes que deshabilitar SIP.
De las páginas man:
The fs_usage utility presents an ongoing display of system call usage information pertaining to filesystem
activity. It requires root privileges due to the kernel tracing facility it uses to operate. By default, the
activity monitored includes all system processes except the running fs_usage process, Terminal, telnetd, telnet,
sshd, rlogind, tcsh, csh, sh, and zsh. These defaults can be overridden such that output is limited to include
or exclude a list of processes specified by the user.
daniel griscom