blktrace: update blkiomon doc
[blktrace.git] / doc / blkiomon.8
CommitLineData
cc19ddd6
MP
1.TH BLKIOMON 8 "July 17, 2008" "" ""
2
3
4.SH NAME
5blkiomon \- monitor block device I/O based o blktrace data
6
7
8.SH SYNOPSIS
9.B blkiomon \-I \fIinterval\fR [ \-h \fIfile\fR ] [ \-b \fIfile\fR ]
10[ \-D \fIfile\fR ] [ \-Q \fIpath_name\fR
11\-q \fImsg_queue_id\fR \-m \fImsg_id\fR ] [ \-V ]
12.br
13
14
15.SH DESCRIPTION
fbdf23ec 16blkiomon is a block device I/O monitor. It periodically generates per-device
cc19ddd6
MP
17request size and request latency statistics from blktrace data. It provides
18histograms as well as data that can be used to calculate min, max, average
19and variance. For this purpose, it consumes D and C traces read from stdin.
a8d834fb
ES
20Note, that this doesn't work for logical volumes, as high-level drivers
21don't see the completion of the events (C).
cc19ddd6
MP
22
23There are options for binary output and human-readable output to files and
24stdout. Output to a message queue is supported as well.
25
26There is no need to use blkparse with blkiomon. blkiomon is capable of
27consuming binary output written to stdout by blktrace.
28
29
30.SH OPTIONS
31
32\-I \fIinterval\fR
33.br
34\-\-interval=\fIinterval\fR
35.RS
36Set sample interval
37.RE
38
39\-h \fIfile\fR
40.br
41\-\-human\-readable=\fIfile\fR
42.RS
43Human-readable output file. Use '\-' for stdout.
44.RE
45
46\-b \fIfile\fR
47.br
48\-\-binary=\fIfile\fR
49.RS
50Binary output file. Use '\-' for stdout.
51.RE
52
53\-D \fIfile\fR
54.br
55\-\-debug=\fIfile\fR
56.RS
57Output file for debugging data. Use '\-' for stdout.
58.RE
59
60\-Q \fIpath_name\fR
61.br
73ad1727 62\-\-msg\-queue=\fIpath_name\fR
cc19ddd6
MP
63.RS
64Sets \fIpath_name\fR as path name for existing message queue to be used
65for binary output.
66.RE
67
68\-q \fImsg_queue_id\fR
69.br
70\-\-msg\-queue\-id=\fImsg_queue_id\fR
71.RS
72Sets \fImsg_queue_id\fR as ID for an existing message queue to be used
73for binary output.
74.RE
75
76\-m \fImsg_id\fR
77.br
78\-\-msg\-id=\fImsg_id\fR
79.RS
80Sets \fImsg_id\fR as message identifier to be used for binary output
81messages written to an existing message queue.
82.RE
83
84\-V
85.br
86\-\-version
87.RS
88Print program version.
89.RE
90
91
92.SH EXAMPLES
93To get I/O statistics for /dev/sdw every 10 seconds for a period of one hour,
94use the following command:
95
96 % blktrace /dev/sdw -a issue -a complete -w 3600 -o - | blkiomon -I 10 -h -
97
98
99.SH AUTHORS
100blkiomon and this man page were written by Martin Peschke.
101
102
103.SH "REPORTING BUGS"
104Report bugs to <linux\-btrace@vger.kernel.org>
105
106
107.SH COPYRIGHT
108Copyright \(co 2008 IBM Corp.
109.br
110This is free software. You may redistribute copies of it under the terms of
111the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
112There is NO WARRANTY, to the extent permitted by law.
113
114
115.SH "SEE ALSO"
116btrace (8), blktrace (8), blkparse (1), verify_blkparse (1), blkrawverify (1),
117btt (1)
118