Code

d271246c2a23e9cadc2b244fb5868b3839455723
[rrdtool-all.git] / website / gallery / blair-01.wml
1 #include "$(ROOT)/.wml/template.inc" section=gallery subsection=blair-01
3 <H1>Comprehensive\nMeasurements\nof a Web Server</H1>
5 <P>by <A HREF="mailto:blair@akamai.com">Blair Zajac</A></P>
7 <P><a href="http://www.gps.caltech.edu/~blair/orca/">Orca</a> is a
8 general purpose tool for taking arbitrary numerical data in text files
9 to generate daily through yearly plots.</P>
11 <P>For sites with more than one system, Orca allows comparisons
12 between different measurements on the same system and plotting the
13 same measurement from different systems on the same page.  This allows
14 easy problem identification and debugging when a working system is
15 compared to a non-working system.</P>
17 <P>The Orca plotting system is broken into two parts, a data
18 measurement tool and the plotting tool.  One data gathering tool,
19 orcallator.se, currently consists of a program that only runs on
20 Solaris hosts and gathers CPU, disk, network, memory, etc usage
21 information.  Orcallator.se is a single process program that gathers
22 all system statistics, so it's nice to a busy system in that it
23 doesn't impact the system by spawning many subprocesses as a shell
24 script would.  Orcallator.se places the gathered information in a
25 space separated text file.</P>
27 <P>Orca, the Perl plotting tool, then reads these text files from one
28 or most hosts and generates RRD files and an HTML tree of plots and
29 pages.  Any data gathering tool that outputs data in an acceptable
30 format can be used with Orca.  Orca reads a configuration file that
31 specifies which data to read from the input text files and how to plot
32 it.</P>
34 <P>The plots below show a subset of the measurements for a single
35 Solaris host running at Yahoo!/GeoCities.  Visit <a
36 href="http://www.gps.caltech.edu/~blair/orca/orca-example/">this
37 site</a> for a more complete example.</P>
39 <img
40  src="blair-01-a.png"
41  alt="Average # Processes in Run Queue">
42 <br>
44 <img alt="CPU Usage"
45  src="blair-01-b.png">
46 <br>
48 <img alt="Web Server Hit Rate"
49  src="blair-01-c.png">
50 <br>
52 <img alt="Web Server File Size"
53  src="blair-01-d.png">
54 <br>
56 <img alt="Interface Bits Per Second"
57  src="blair-01-e.png">
58 <br>
60 <img alt="Disk Run Percent"
61  src="blair-01-f.png">
62 <br>