2019-10-23 20:07:21 +01:00
|
|
|
# iotop
|
|
|
|
|
|
|
|
> Display a table of current I/O usage by processes or threads.
|
2021-04-16 15:42:14 +01:00
|
|
|
> More information: <https://manned.org/iotop>.
|
2019-10-23 20:07:21 +01:00
|
|
|
|
|
|
|
- Start top-like I/O monitor:
|
|
|
|
|
2021-02-18 23:18:02 +00:00
|
|
|
`sudo iotop`
|
2019-10-23 20:07:21 +01:00
|
|
|
|
|
|
|
- Show only processes or threads actually doing I/O:
|
|
|
|
|
2021-02-18 23:18:02 +00:00
|
|
|
`sudo iotop --only`
|
2019-10-23 20:07:21 +01:00
|
|
|
|
|
|
|
- Show I/O usage in non-interactive mode:
|
|
|
|
|
2021-02-18 23:18:02 +00:00
|
|
|
`sudo iotop --batch`
|
2019-10-23 20:07:21 +01:00
|
|
|
|
2021-02-18 23:18:02 +00:00
|
|
|
- Show only I/O usage of processes (default is to show all threads):
|
2019-10-23 20:07:21 +01:00
|
|
|
|
2021-02-18 23:18:02 +00:00
|
|
|
`sudo iotop --processes`
|
2019-10-23 20:07:21 +01:00
|
|
|
|
|
|
|
- Show I/O usage of given PID(s):
|
|
|
|
|
2021-02-18 23:18:02 +00:00
|
|
|
`sudo iotop --pid={{PID}}`
|
2019-10-23 20:07:21 +01:00
|
|
|
|
|
|
|
- Show I/O usage of a given user:
|
|
|
|
|
2021-02-18 23:18:02 +00:00
|
|
|
`sudo iotop --user={{user}}`
|
2019-10-23 20:07:21 +01:00
|
|
|
|
|
|
|
- Show accumulated I/O instead of bandwidth:
|
|
|
|
|
2021-02-18 23:18:02 +00:00
|
|
|
`sudo iotop --accumulated`
|