1 .TH BLKIOMON 8 "July 17, 2008" "" ""
5 blkiomon \- monitor block device I/O based o blktrace data
9 .B blkiomon \-I \fIinterval\fR [ \-h \fIfile\fR ] [ \-b \fIfile\fR ]
10 [ \-d \fIfile\fR ] [ \-D \fIfile\fR ] [ \-Q \fIpath_name\fR
11 \-q \fImsg_queue_id\fR \-m \fImsg_id\fR ] [ \-V ]
16 blkiomon is a block device I/O monitor. It periodically generates per-device
17 request size and request latency statistics from blktrace data. It provides
18 histograms as well as data that can be used to calculate min, max, average
19 and variance. For this purpose, it consumes D and C traces read from stdin.
20 Note, that this doesn't work for logical volumes, as high-level drivers
21 don't see the completion of the events (C).
23 There are options for binary output and human-readable output to files and
24 stdout. Output to a message queue is supported as well.
26 There is no need to use blkparse with blkiomon. blkiomon is capable of
27 consuming binary output written to stdout by blktrace.
34 \-\-interval=\fIinterval\fR
41 \-\-human\-readable=\fIfile\fR
43 Human-readable output file. Use '\-' for stdout.
50 Binary output file. Use '\-' for stdout.
55 \-\-dump-lldd=\fIfile\fR
57 Output file for data emitted by low level device driver.
64 Output file for debugging data. Use '\-' for stdout.
69 \-\-msg\-queue=\fIpath_name\fR
71 Sets \fIpath_name\fR as path name for existing message queue to be used
75 \-q \fImsg_queue_id\fR
77 \-\-msg\-queue\-id=\fImsg_queue_id\fR
79 Sets \fImsg_queue_id\fR as ID for an existing message queue to be used
85 \-\-msg\-id=\fImsg_id\fR
87 Sets \fImsg_id\fR as message identifier to be used for binary output
88 messages written to an existing message queue.
95 Print program version.
100 To get I/O statistics for /dev/sdw every 10 seconds for a period of one hour,
101 use the following command:
103 % blktrace /dev/sdw -a issue -a complete -w 3600 -o - | blkiomon -I 10 -h -
107 blkiomon and this man page were written by Martin Peschke.
111 Report bugs to <linux\-btrace@vger.kernel.org>
115 Copyright \(co 2008 IBM Corp.
117 This is free software. You may redistribute copies of it under the terms of
118 the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
119 There is NO WARRANTY, to the extent permitted by law.
123 btrace (8), blktrace (8), blkparse (1), verify_blkparse (1), blkrawverify (1),