1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/iotop.md

33 lines
658 B
Markdown
Raw Normal View History

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