iotop: add sudo to all commands (#5267)

translation-badges
Managor 2021-02-19 01:18:02 +02:00 committed by GitHub
parent 7a08da8173
commit 5f98c903af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -5,28 +5,28 @@
- Start top-like I/O monitor: - Start top-like I/O monitor:
`iotop` `sudo iotop`
- Show only processes or threads actually doing I/O: - Show only processes or threads actually doing I/O:
`iotop -o` `sudo iotop --only`
- Show I/O usage in non-interactive mode: - Show I/O usage in non-interactive mode:
`iotop -b` `sudo iotop --batch`
- Show only I/O usage of processes(Default is to show all threads): - Show only I/O usage of processes (default is to show all threads):
`iotop -P` `sudo iotop --processes`
- Show I/O usage of given PID(s): - Show I/O usage of given PID(s):
`iotop -p {{PID}}` `sudo iotop --pid={{PID}}`
- Show I/O usage of a given user: - Show I/O usage of a given user:
`iotop -u {{user}}` `sudo iotop --user={{user}}`
- Show accumulated I/O instead of bandwidth: - Show accumulated I/O instead of bandwidth:
`iotop -a` `sudo iotop --accumulated`