fio2gnuplot: fix TabErrors when running with Python 3
[fio.git] / tools / plot / fio2gnuplot.1
CommitLineData
1378cc68 1.\" Text automatically generated by txt2man
aed4796b 2.TH fio2gnuplot 1 "August 2013"
1378cc68
EV
3.SH NAME
4\fBfio2gnuplot \fP- Render fio's output files with gnuplot
5.SH SYNOPSIS
6.nf
7.fam C
8\fBfio2gnuplot\fP [\fB-ghbiodvk\fP] [\fB-t\fP \fItitle\fP] [\fB-o\fP \fIoutputfile\fP]
9 [\fB-d\fP \fIoutput_dir\fP] [\fB-p\fP \fIpattern\fP]
10 [\fB-G\fP \fItype\fP] [\fB-m\fP \fImin_time\fP] [\fB-M\fP \fImax_time\fP]
11
12.fam T
13.fi
14.fam T
15.fi
16.SH DESCRIPTION
17\fBfio2gnuplot\fP analyze a set of fio's log files to turn them into a set of graphical traces using gnuplot tool.
18Several flavor of plotting are produced
19.TP
20.B
21Individual 2D Graph
22Each file is plotted in a separate image file with several option
23.RS
24.IP \(bu 3
25raw : Plot the exact reported performance. This plotting could be difficult to read
26.IP \(bu 3
27smooth :a smoother version of the raw print
28Using csplines option of gnuplot, the rendering is
29filtered to get an easier to read graph.
30.IP \(bu 3
31trend : an even smoother version of the raw print to get trends
32Bezier's curves makes much more filtered plots
33The resulting graph helps at understanding trends.
34.RE
35.TP
36.B
37Grouped 2D graph
38All files are plotted in a single image to ease the comparaison. The same rendering options as per the individual 2D graph are used :
39.RS
40.IP \(bu 3
41raw
42.IP \(bu 3
43smooth
44.IP \(bu 3
45trend
46.RE
47.TP
48.B
49Grouped 3D graph
50All files are plotted into a single 3D graph.
51The 3D plotting generates a 'surface' to estimate how close were
52the performance.
53A flat surface means a good coherency between traces.
54A rugged surface means a lack of coherency between traces
55.TP
56.B
57Mathemical Plotting
58.RS
59.TP
60.B
61Average graph
62A bar graph to show the average performance of each file.
63A green line is added to show the global average performance.
64This green line helps at understanding how far from the average is
65every individual file.
66.TP
67.B
68Min graph
69A green line is added to show the global average of minimal performance.
70This green line helps at understanding how far from the average is
71every individual file.
72.TP
73.B
74Max graph
75A bar graph to show the maximum performance of each file.
76A green line is added to show the global average of maximal performance.
77This green line helps at understanding how far from the average is
78every individual file.
79.TP
80.B
81Standard Deviation
82A bar graph to show the standard deviation of each file.
83A green line is added to show the global average of standard deviation.
84This green line helps at understanding how far from the average is
85every individual file.
86.SH OPTIONS
87.TP
88.B
89\fB-h\fP or \fB--help\fP
90The option \fB-h\fP displays help
91.TP
92.B
93\fB-p\fP '\fIpattern\fP' or --\fIpattern\fP '\fIpattern\fP'
94A \fIpattern\fP in regexp to select fio input files.
95Don't forget the simple quotes to avoid shell's interactions
96.TP
97.B
98\fB-b\fP or \fB--bandwidth\fP
99A predefined \fIpattern\fP for selecting *_bw.log files
100.TP
101.B
102\fB-i\fP or \fB--iops\fP
103A predefined \fIpattern\fP for selecting *_iops.log files
104.TP
105.B
106\fB-g\fP or \fB--gnuplot\fP
107Render gnuplot traces before exiting
108.TP
109.B
110\fB-o\fP file or --\fIoutputfile\fP file
111The basename for gnuplot traces (set with the \fIpattern\fP if defined)
112.TP
113.B
114\fB-d\fP dir or \fB--outputdir\fP dir
115The directory where gnuplot shall render files.
116.TP
117.B
118\fB-t\fP \fItitle\fP or --\fItitle\fP \fItitle\fP
119The \fItitle\fP of the gnuplot traces.
120Title is set with the block size detected in fio trace
121.TP
122.B
123\fB-G\fP \fItype\fP or \fB--Global\fP \fItype\fP
124Search for '\fItype\fP' in .global files match by a \fIpattern\fP.
125Available types are : min, max, avg, stddev.
126The .global extension is added automatically to the \fIpattern\fP
127.TP
128.B
129\fB-m\fP time or --\fImin_time\fP time
130Only consider data starting from 'time' seconds. Default is 0
131.TP
132.B
133\fB-M\fP time or --\fImax_time\fP time
134Only consider data ending before 'time' seconds. Default is \fB-1\fP aka nolimit
135.TP
136.B
137\fB-v\fP or \fB--verbose\fP
138Increasing verbosity
139.TP
140.B
141\fB-k\fP or \fB--keep\fP
142Keep all temporary files from gnuplot's output dir
143.SH EXAMPLE
144.TP
145.B
146To plot all the traces named like 'host*_read_4k_iops.log'
147$ \fBfio2gnuplot\fP \fB-p\fP 'host*_read_4k_iops.log' \fB-g\fP
148.TP
149.B
150To plot all IO oriented log files from the current directory
151$ \fBfio2gnuplot\fP \fB-g\fP \fB-i\fP
152.TP
153.B
154To plot all Bandwidth oriented log files from the current directory
155$ \fBfio2gnuplot\fP \fB-g\fP \fB-b\fP
156.TP
157.B
158To plot all Bandwidth oriented log files in a directory name 'outdir'
159$ \fBfio2gnuplot\fP \fB-g\fP \fB-b\fP \fB-d\fP outdir
160.SH AUTHOR
161Erwan Velu <erwan@enovance.com>