commands.sh

iotop

all

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

More info →

Options (6)

-o, --onlyboolean

Show only processes or threads actually doing I/O

Example: sudo iotop {{[-o|--only]}}
-b, --batchboolean

Show I/O usage in non-interactive mode

Example: sudo iotop {{[-b|--batch]}}
-P, --processesboolean

Show only I/O usage of processes (default is to show all threads)

Example: sudo iotop {{[-P|--processes]}}
-p, --pidboolean

Show I/O usage of given PID(s)

Example: sudo iotop {{[-p|--pid]}} {{PID}}
-u, --userboolean

Show I/O usage of a given user

Example: sudo iotop {{[-u|--user]}} {{user}}
-a, --accumulatedboolean

Show accumulated I/O instead of bandwidth

Example: sudo iotop {{[-a|--accumulated]}}

Examples (7)

Start top-like I/O monitor

Show only processes or threads actually doing I/O

sudo iotop [-o|--only]

Show I/O usage in non-interactive mode

sudo iotop [-b|--batch]

Show only I/O usage of processes (default is to show all threads)

sudo iotop [-P|--processes]

Show I/O usage of given PID(s)

sudo iotop [-p|--pid] PID

Show I/O usage of a given user

sudo iotop [-u|--user] user

Show accumulated I/O instead of bandwidth

sudo iotop [-a|--accumulated]
made by @shridhargupta | data from tldr-pages