tldr/pages/common/iotop.md

33 lines
604 B
Markdown
Raw Normal View History

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