2025-03-14 21:59:59 -06:00
|
|
|
# iotop
|
|
|
|
|
|
|
|
|
|
> Display a table of current I/O usage by processes or threads.
|
|
|
|
|
> More information: <https://manned.org/iotop>.
|
|
|
|
|
|
|
|
|
|
- Start top-like I/O monitor:
|
|
|
|
|
|
|
|
|
|
`sudo iotop`
|
|
|
|
|
|
|
|
|
|
- Show only processes or threads actually doing I/O:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`sudo iotop {{[-o|--only]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show I/O usage in non-interactive mode:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`sudo iotop {{[-b|--batch]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show only I/O usage of processes (default is to show all threads):
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`sudo iotop {{[-P|--processes]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show I/O usage of given PID(s):
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`sudo iotop {{[-p|--pid]}} {{PID}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show I/O usage of a given user:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`sudo iotop {{[-u|--user]}} {{user}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show accumulated I/O instead of bandwidth:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`sudo iotop {{[-a|--accumulated]}}`
|