From 5f98c903afac85653bc9e5a9d1f652e3670481ce Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 19 Feb 2021 01:18:02 +0200 Subject: [PATCH] iotop: add sudo to all commands (#5267) --- pages/common/iotop.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pages/common/iotop.md b/pages/common/iotop.md index b62a61cf7..3e5a011b4 100644 --- a/pages/common/iotop.md +++ b/pages/common/iotop.md @@ -5,28 +5,28 @@ - Start top-like I/O monitor: -`iotop` +`sudo iotop` - Show only processes or threads actually doing I/O: -`iotop -o` +`sudo iotop --only` - 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): -`iotop -p {{PID}}` +`sudo iotop --pid={{PID}}` - Show I/O usage of a given user: -`iotop -u {{user}}` +`sudo iotop --user={{user}}` - Show accumulated I/O instead of bandwidth: -`iotop -a` +`sudo iotop --accumulated`