1 .\" Debian manual page, has been forwarded upstream
2 .TH IOTOP "1" "April 2009"
4 iotop \- simple top\-like I/O monitor
9 iotop watches I/O usage information output by the Linux kernel (requires
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_TASK_DELAY_ACCT,
12 CONFIG_TASK_IO_ACCOUNTING, CONFIG_TASKSTATS and CONFIG_VM_EVENT_COUNTERS
13 options need to be enabled in your Linux kernel build configuration.
15 iotop displays columns for the I/O bandwidth read and written by each
16 process/thread during the sampling period. It also displays the percentage
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
19 period is displayed at the top of the interface.
21 Use the left and right arrows to change the sorting, r to reverse the
22 sorting order, o to toggle the \-\-only option, p to toggle the \-\-processes option, a to toggle the \-\-accumulated option, q to quit or i to change the priority of a thread or a process' thread(s). Any other key will force a refresh.
26 Show the version number and exit
28 \fB\-h\fR, \fB\-\-help\fR
29 Show usage information and exit
31 \fB\-o\fR, \fB\-\-only\fR
32 Only show processes or threads actually doing I/O, instead of showing all processes or threads. This can be dynamically toggled by pressing o.
34 \fB\-b\fR, \fB\-\-batch\fR
35 Turn on non\-interactive mode.
36 Useful for logging I/O usage over time.
38 \fB\-n\fR NUM, \fB\-\-iter\fR=\fINUM\fR
39 Set the number of iterations before quitting (never quit by default).
40 This is most useful in non\-interactive mode.
42 \fB\-d\fR SEC, \fB\-\-delay\fR=\fISEC\fR
43 Set the delay between iterations in seconds (1 second by default).
44 Accepts non-integer values such as 1.1 seconds.
46 \fB\-p\fR PID, \fB\-\-pid\fR=\fIPID\fR
47 A list of processes/threads to monitor (all by default).
49 \fB\-u\fR USER, \fB\-\-user\fR=\fIUSER\fR
50 A list of users to monitor (all by default)
52 \fB\-P\fR, \fB\-\-processes\fR
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.
86 iotop was written by Guillaume Chazarain.
88 This manual page was started by Paul Wise for the
89 Debian project and is placed in the public domain.