Cosmetic fixes
[iotop.git] / iotop.1
bloba1cf90994904684f80207b0708b8c475bdba6ba3
1 .\" Debian manual page, has been forwarded upstream
2 .TH IOTOP "1" "April 2009"
3 .SH NAME
4 iotop \- simple top\-like I/O monitor
5 .SH SYNOPSIS
6 .B iotop
7 [\fIOPTIONS\fR]
8 .SH DESCRIPTION
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.
14 .PP
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.
20 .PP
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.
23 .SH OPTIONS
24 .TP
25 \fB\-\-version\fR
26 Show the version number and exit
27 .TP
28 \fB\-h\fR, \fB\-\-help\fR
29 Show usage information and exit
30 .TP
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.
33 .TP
34 \fB\-b\fR, \fB\-\-batch\fR
35 Turn on non\-interactive mode.
36 Useful for logging I/O usage over time.
37 .TP
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.
41 .TP
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.
45 .TP
46 \fB\-p\fR PID, \fB\-\-pid\fR=\fIPID\fR
47 A list of processes/threads to monitor (all by default).
48 .TP
49 \fB\-u\fR USER, \fB\-\-user\fR=\fIUSER\fR
50 A list of users to monitor (all by default)
51 .TP
52 \fB\-P\fR, \fB\-\-processes\fR
53 Only show processes. Normally iotop shows all threads.
54 .TP
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.
57 .TP
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.
60 .TP
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.
63 .TP
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.
66 .RS
67 .PD 0
68 .TP
69 .B \-q
70 column names are only printed on the first iteration,
71 .TP
72 .B \-qq
73 column names are never printed,
74 .TP
75 .B \-qqq
76 the I/O summary is never printed.
77 .PD 1
78 .RE
79 .SH SEE ALSO
80 .BR ionice (1),
81 .BR top (1),
82 .BR vmstat (1),
83 .BR atop (1),
84 .BR htop (1)
85 .SH AUTHOR
86 iotop was written by Guillaume Chazarain.
87 .PP
88 This manual page was started by Paul Wise for the
89 Debian project and is placed in the public domain.