Display a table of current I/O usage by processes or threads.
# To start top-like I/O monitor:
sudo iotop
# To show only processes or threads actually doing I/O:
sudo iotop --only
# To show I/O usage in non-interactive mode:
sudo iotop --batch
# To show only I/O usage of processes (default is to show all threads):
sudo iotop --processes
# To show I/O usage of given PID(s):
sudo iotop --pid=<PID>
# To show I/O usage of a given user:
sudo iotop --user=<user>
# To show accumulated I/O instead of bandwidth:
sudo iotop --accumulated