9
9
iotop watches I/O usage information output by the Linux kernel (requires
10
10
2.6.20 or later) and displays a table of current I/O usage by processes
11
or threads on the system. At least the CONFIG_TASKSTATS and CONFIG_TASK_IO_ACCOUNTING
12
options need to be enabled in your Linux kernel build configuration.
11
or threads on the system. At least the CONFIG_TASK_DELAY_ACCT and
12
CONFIG_TASK_IO_ACCOUNTING options need to be enabled in your Linux kernel
13
build configuration, these options depend on CONFIG_TASKSTATS.
14
15
iotop displays columns for the I/O bandwidth read and written by each
15
16
process/thread during the sampling period. It also displays the percentage
16
of time the thread/process spent while swapping in and while waiting on I/O.
17
In addition the total I/O bandwidth read and written during the sampling
17
of time the thread/process spent while swapping in and while waiting on I/O. For each process, its I/O priority (class/level) is shown.
18
In addition, the total I/O bandwidth read and written during the sampling
18
19
period is displayed at the top of the interface.
20
21
Use the left and right arrows to change the sorting, r to reverse the
21
sorting order, o to toggle the \-\-only option or q to quit. Any other key will force a refresh.
22
sorting order, o to toggle the \-\-only option, p to toggle the \-\-processes option, a to toggle the --accumulated option or q to quit. Any other key will force a refresh.
43
44
Accepts non-integer values such as 1.1 seconds.
45
46
\fB\-p\fR PID, \fB\-\-pid\fR=\fIPID\fR
46
A list of processes to monitor (all by default).
47
A list of processes/threads to monitor (all by default).
48
49
\fB\-u\fR USER, \fB\-\-user\fR=\fIUSER\fR
49
50
A list of users to monitor (all by default)
51
52
\fB\-P\fR, \fB\-\-processes\fR
52
53
Only show processes. Normally iotop shows all threads.
55
\fB\-a\fR, \fB\-\-accumulated\fR
56
Show accumulated I/O instead of bandwidth. In this mode, iotop shows the amount of I/O processes have done since iotop started.
58
\fB\-k\fR, \fB\-\-kilobytes\fR
59
Use kilobytes instead of a human friendly unit. This mode is useful when scripting the batch mode of iotop. Instead of choosing the most appropriate unit iotop will display all sizes in kilobytes.
61
\fB\-t\fR, \fB\-\-time\fR
62
Add a timestamp on each line (implies --batch). Each line will be prefixed by the current time.
64
\fB\-q\fR, \fB\-\-quiet\fR
65
suppress some lines of header (implies --batch). This option can be specified up to three times to remove header lines.
70
column names are only printed on the first iteration,
73
column names are never printed,
76
the I/O summary is never printed.
56
83
iotop was written by Guillaume Chazarain.