summaryrefslogtreecommitdiff
path: root/tools/wtperf_graph.py
diff options
context:
space:
mode:
authorSusan LoVerso <sue@wiredtiger.com>2014-02-05 15:48:12 -0500
committerSusan LoVerso <sue@wiredtiger.com>2014-02-05 15:48:12 -0500
commitdad678ca2b6973caad8d86bd202d4a1138222724 (patch)
tree7655ef5ed8092341215a232331947d4383b21084 /tools/wtperf_graph.py
parent917048c78d0b47efbfe338a85045d1eec81953b7 (diff)
downloadmongo-dad678ca2b6973caad8d86bd202d4a1138222724.tar.gz
Fix columns for monitor graph. Get rid of Total.
Diffstat (limited to 'tools/wtperf_graph.py')
-rw-r--r--tools/wtperf_graph.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/wtperf_graph.py b/tools/wtperf_graph.py
index a65fe29c0a5..fb925ef28b9 100644
--- a/tools/wtperf_graph.py
+++ b/tools/wtperf_graph.py
@@ -81,10 +81,9 @@ set yrange [0:]\n''' % {
'\', graph 0 ' + ' to first \'' + stop +\
'\', graph 1 fc rgb "gray" back\n')
of.write('set output "' + fname + '.png"\n')
- of.write('plot "' + fname + '" using 1:($2/1000) title "Reads", "' +\
- fname + '" using 1:($3/1000) title "Inserts", "' +\
- fname + '" using 1:($4/1000) title "Updates", "' +\
- fname + '" using 1:(($2+$3+$4)/1000) title "Total"\n')
+ of.write('plot "' + fname + '" using 1:($3/1000) title "Reads", "' +\
+ fname + '" using 1:($4/1000) title "Inserts", "' +\
+ fname + '" using 1:($5/1000) title "Updates"\n')
of.close()
call(["gnuplot", gcmd])
os.remove(gcmd)