From 360a4d21978de688efe59a9e5a2c2b52712ec2c6 Mon Sep 17 00:00:00 2001 From: Susan LoVerso Date: Mon, 16 Feb 2015 11:54:20 -0500 Subject: Fix wtperf example to reflect incorporation into wtstats. --- src/docs/examples/wtperf-sample.html | 37 ------------------------------------ src/docs/wtperf.dox | 29 +++++++++++----------------- src/docs/wtstats.dox | 2 +- 3 files changed, 12 insertions(+), 56 deletions(-) delete mode 100644 src/docs/examples/wtperf-sample.html diff --git a/src/docs/examples/wtperf-sample.html b/src/docs/examples/wtperf-sample.html deleted file mode 100644 index b58e3847159..00000000000 --- a/src/docs/examples/wtperf-sample.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - -
- - - - - diff --git a/src/docs/wtperf.dox b/src/docs/wtperf.dox index 2cadc6ed05b..49a35c5411f 100644 --- a/src/docs/wtperf.dox +++ b/src/docs/wtperf.dox @@ -100,8 +100,9 @@ Enabling monitoring causes \c wtperf to create a file \c monitor in the database home directory (or another directory as specified using the \c -m option to \c wtperf). -A visualization tool to see the performance over the course of the \c wtperf -run can be found in \c tools/wtperf_stats/wtperf_stats.py. +The same visualization tool, \c wtstats, can be used to view a combined +chart with both the \c monitor output and the stastics logging output +at the same time. The following example shows how to run the \c medium-btree.wtperf configuration with monitoring enabled, and then generate a graph. @@ -123,25 +124,17 @@ bench/wtperf/wtperf \ -O bench/wtperf/runners/medium-btree.wtperf # Use the visualization tool to create HTML graph output; the output file is -# named wtperf_stats.html. -python tools/wtperf_stats/wtperf_stats.py WTPERF_RUN/monitor +# named wtstats.html. +python tools/wtstats/wtstats.py WTPERF_RUN/monitor + +# Possible alternatives if statistics logging also enabled: +# python tools/wtstats/wtstats.py WTPERF_RUN/monitor WTPERF_RUN/WiredTigerStat* +# python tools/wtstats/wtstats.py WTPERF_RUN @endcode -The python command creates a file named \c wtperf_stats.html in the current +The python command creates a file named \c wtstats.html in the current working directory. You can open the generated HTML document in your browser -and see the generated statistics. The keys in the graph are clickable, -including the graph included on this page. Double clicking on one -of the keys will show only that item. Single clicking will -enable or disable a particular item. - -The script has a few optional arguments: -o file or ---output file to redirect the HTML output to another -filename, and \c --abstime to display time on the X-axis in absolute -time. - -The following is example HTML output: - -\htmlinclude wtperf-sample.html +and see the generated statistics. @section config Wtperf configuration options diff --git a/src/docs/wtstats.dox b/src/docs/wtstats.dox index a07dfd4ca8f..c4218049a4a 100644 --- a/src/docs/wtstats.dox +++ b/src/docs/wtstats.dox @@ -2,7 +2,7 @@ The WiredTiger distribution includes the \b wtstats tool that can be used to examine information generated using statistics logging (see -@ref statistics_log). +@ref statistics_log) and wtperf monitoring output (see @ref wtperf). After running an application with statistics logging configured, the statistics output files will be in the database home directory. By -- cgit v1.2.1