1IOTOP(8) System Manager's Manual IOTOP(8)
2
3
4
6 iotop - simple top-like I/O monitor
7
9 iotop [OPTIONS]
10
12 iotop watches I/O usage information output by the Linux kernel
13 (requires 2.6.20 or later) and displays a table of current I/O usage by
14 processes or threads on the system. At least the CON‐
15 FIG_TASK_DELAY_ACCT, CONFIG_TASK_IO_ACCOUNTING, CONFIG_TASKSTATS and
16 CONFIG_VM_EVENT_COUNTERS options need to be enabled in your Linux ker‐
17 nel build configuration.
18
19 iotop displays columns for the I/O bandwidth read and written by each
20 process/thread during the sampling period. It also displays the per‐
21 centage of time the thread/process spent while swapping in and while
22 waiting on I/O. For each process, its I/O priority (class/level) is
23 shown.
24
25 In addition, the total I/O bandwidth read and written during the sam‐
26 pling period is displayed at the top of the interface. Total DISK READ
27 and Total DISK WRITE values represent total read and write bandwidth
28 between processes and kernel threads on the one side and kernel block
29 device subsystem on the other. While Current DISK READ and Current DISK
30 WRITE values represent corresponding bandwidths for current disk I/O
31 between kernel block device subsystem and underlying hardware (HDD,
32 SSD, etc.). Thus Total and Current values may not be equal at any
33 given moment of time due to data caching and I/O operations reordering
34 that take place inside Linux kernel.
35
36 Use the left and right arrows to change the sorting, r to reverse the
37 sorting order, o to toggle the --only option, p to toggle the --pro‐
38 cesses option, a to toggle the --accumulated option, q to quit or i to
39 change the priority of a thread or a process's thread(s). Any other key
40 will force a refresh.
41
43 -v, --version
44 Show the version number and exit
45
46 -h, --help
47 Show usage information and exit
48
49 -o, --only
50 Only show processes or threads actually doing I/O, instead of
51 showing all processes or threads. This can be dynamically tog‐
52 gled by pressing o.
53
54 -b, --batch
55 Turn on non-interactive mode. Useful for logging I/O usage over
56 time.
57
58 -n NUM, --iter=NUM
59 Set the number of iterations before quitting (never quit by
60 default). This is most useful in non-interactive mode.
61
62 -d SEC, --delay=SEC
63 Set the delay between iterations in seconds (1 second by
64 default). Accepts non-integer values such as 1.1 seconds.
65
66 -p PID, --pid=PID
67 A list of processes/threads to monitor (all by default).
68
69 -u USER, --user=USER
70 A list of users to monitor (all by default)
71
72 -P, --processes
73 Only show processes. Normally iotop shows all threads.
74
75 -a, --accumulated
76 Show accumulated I/O instead of bandwidth. In this mode, iotop
77 shows the amount of I/O processes have done since iotop started.
78
79 -k, --kilobytes
80 Use kilobytes instead of a human friendly unit. This mode is
81 useful when scripting the batch mode of iotop. Instead of choos‐
82 ing the most appropriate unit iotop will display all sizes in
83 kilobytes.
84
85 -t, --time
86 Add a timestamp on each line (implies --batch). Each line will
87 be prefixed by the current time.
88
89 -c, --fullcmdline
90 Show processes' full file path & parameters.
91
92 -1, --hide-pid
93 Hide PID/TID column
94
95 -2, --hide-prio
96 Hide PRIO column
97
98 -3, --hide-user
99 Hide USER column
100
101 -4, --hide-read
102 Hide DISK READ column
103
104 -5, --hide-write
105 Hide DISK WRITE column
106
107 -6, --hide-swapin
108 Hide SWAPIN column
109
110 -7, --hide-io
111 Hide IO column
112
113 -8, --hide-graph
114 Hide GRAPH column
115
116 -9, --hide-command
117 Hide COMMAND column
118
119 -q, --quiet
120 Suppress some lines of header (implies --batch). This option can
121 be specified up to three times to remove header lines.
122 -q column names are only printed on the first iteration,
123 -qq column names are never printed,
124 -qqq the I/O summary is never printed.
125
126 -H, --no-help
127 Suppress the keyboard shortcuts help display.
128
130 q, Q Exit
131
132 <space>, r, R
133 Toggle sort order
134
135 <home> Sort by column PID/TID
136
137 <end> Sort by column COMMAND
138
139 <right>
140 Sort by next column
141
142 <left> Sort by previous column
143
144 o, O Toggle showing only processes with IO activity
145
146 p, P Toggle showing processes/threads
147
148 a, A Toggle showing accumulated/current values
149
150 ?, h, H
151 Toggle showing shortcut help
152
153 c, C Toggle showing full command line
154
155 1, 2, 3, 4, 5, 6, 7, 8, 9
156 Toggle showing the column (column number corresponds to the
157 shortcut)
158
159 i, I IOnice a process/thread (depends on process/thread display mode)
160
161 u, U Toggle using Unicode/ASCII characters for pseudo graph
162
164 ionice(1), top(1), vmstat(1), atop(1), htop(1)
165
167 The original Python iotop implementation was written by Guillaume Chaz‐
168 arain. This rewrite in C started in 2014 by Vyacheslav Trushkin and
169 reworked to include all features from the original Python version in
170 2020 by Boian Bonev.
171
172 This manual page was started by Paul Wise for the Debian project and is
173 placed in the public domain.
174
175
176
177 September 30, 2020 IOTOP(8)