bottleneck testcase based on rubbos
[bottlenecks.git] / rubbos / app / tomcat-connectors-1.2.32-src / docs / miscellaneous / printer / reporttools.html
1 <html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>The Apache Tomcat Connector - Miscellaneous Documentation - Reporting Tools</title><meta name="author" value="Glenn Nielsen"><meta name="email" value=""><link href="../../style.css" type="text/css" rel="stylesheet"></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="4"><!--PAGE HEADER--><tr><td colspan="2"><!--TOMCAT LOGO--><a href="http://tomcat.apache.org/"><img src="../../images/tomcat.gif" align="left" alt="Apache Tomcat" border="0"></a><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="http://www.apache.org/images/asf-logo.gif" align="right" alt="Apache Logo" border="0"></a></td></tr><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade size="1"></td></tr><tr><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left"><table border="0" width="100%" cellspacing="4"><tr><td align="left" valign="top"><h1>The Apache Tomcat Connector - Miscellaneous Documentation</h1><h2>Reporting Tools</h2></td><td align="right" valign="top" nowrap="true"><img src="../../images/void.gif" width="1" height="1" vspace="0" hspace="0" border="0"></td></tr></table><table border="0" cellspacing="0" cellpadding="2" width="100%"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Reporting Tools"><strong>Reporting Tools</strong></a></font></td></tr><tr><td><blockquote>
2 <p>
3 The mod_jk source distribution contains two perl scripts in the
4 tools/reports directory which can be used to analyze the mod_jk
5 logs, save statistical data, and generate report graphs.
6 </p>
7
8 <p><b class="code">tomcat_trend.pl log_dir archive_dir</b></p>
9 <p>
10 Script for analyzing mod_jk.log data when logging tomcat request data using
11 the <b class="code">JkRequestLogFormat</b> Apache mod_jk configuration.
12 Generates statistics for request latency and errors.  Archives the generated
13 data to files for later use in long term trend graphs and reports.
14 </p>
15
16 <p><b class="code">tomcat_reports.pl archive_dir reports_dir</b></p>
17 <p>
18 Script for generating reports and graphs using statistical data generated
19 by the <b class="code">tomcat_trend.pl</b> script.
20
21 The following graphs are created:
22 <ul>
23   <li>tomcat_request.png - Long term trend graph of total number of tomcat
24     requests handled.</li>
25   <li>tomcat_median.png - Long term overall trend graph of tomcat request
26     latency median.</li>
27   <li>tomcat_deviation.png - Long term overall trend graph of tomcat request
28     mean and standard deviation.</li>
29   <li>tomcat_error.png - Long term trend graph of requests rejected by tomcat.
30     Shows requests rejected when tomcat has no request processors available.
31     Can be an indicator that tomcat is overloaded or having other scaling
32     problems.</li>
33   <li>tomcat_client.png - Long term trend graph of requests forward to tomcat
34     which were aborted by the remote client (browser).  You will normally see
35     some aborted requests.  High numbers of these can be an indicator that
36     tomcat is overloaded or there are requests which have very high latency.</li>
37 </ul>
38 </p>
39
40 <p>
41 A great deal of statistical data is generated but at this time
42 only long term trend graphs are being created and no reports.
43 This is only a start.  Many more graphs and reports could be
44 generated from the data. Please consider contributing back any
45 new reports or graphs you create.  Thanks.
46 </p>
47
48 <p>
49 These perl scripts depend upon the following perl modules and libraries:
50 <ul>
51   <li>GD 1.8.x graphics library <a href="http://www.boutell.com/gd/">
52     http://www.boutell.com/gd/</a></li>
53   <li>GD 1.4.x perl module</li>
54   <li>GD Graph perl module</li>
55   <li>GD TextUtil perl module</li>
56   <li>StatisticsDescriptive perl module</li>
57 </ul>
58 </p>
59 </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>
60         Copyright &copy; 1999-2011, Apache Software Foundation
61         </em></font></div></td></tr></table></body></html>