iotop

Display a table of current I/O usage by processes or threads.

TLDR

Start top-like I/O monitor

$ sudo iotop
copy


Show only processes or threads actually doing I/O
$ sudo iotop --only
copy


Show I/O usage in non-interactive mode
$ sudo iotop --batch
copy


Show only I/O usage of processes (default is to show all threads)
$ sudo iotop --processes
copy


Show I/O usage of given PID(s)
$ sudo iotop --pid=[PID]
copy


Show I/O usage of a given user
$ sudo iotop --user=[user]
copy


Show accumulated I/O instead of bandwidth
$ sudo iotop --accumulated
copy

Copied to clipboard