[Swift-commit] r4407 - www/cookbook

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Mon Apr 25 13:03:51 CDT 2011


Author: ketan
Date: 2011-04-25 13:03:51 -0500 (Mon, 25 Apr 2011)
New Revision: 4407

Modified:
   www/cookbook/cookbook-asciidoc.html
   www/cookbook/cookbook-asciidoc.txt
Log:
 

Modified: www/cookbook/cookbook-asciidoc.html
===================================================================
--- www/cookbook/cookbook-asciidoc.html	2011-04-25 17:46:59 UTC (rev 4406)
+++ www/cookbook/cookbook-asciidoc.html	2011-04-25 18:03:51 UTC (rev 4407)
@@ -1167,83 +1167,63 @@
 </div></div>
 <div class="sect2">
 <h3 id="_make_a_basic_load_plot_from_coasters_cpu_log_lines">6.1. Make a basic load plot from Coasters Cpu log lines</h3>
-<div class="olist arabic"><ol class="arabic">
-<li>
-<p>
-Generate the log (may set log4j.logger.swift=INFO for this one)
-(assuming the log is titled swift-run.log)
-</p>
-</li>
-<li>
-<p>
-Convert the log times to Unix time
-./iso-to-secs < swift-run.log > swift-run.time
-</p>
-</li>
-<li>
-<p>
-Make the start time file (this contains the earliest timestamp)
-make LOG=swift-run.log start-time.tmp
-or
-extract-start-time swift-run.log > start-time.tmp
-</p>
-</li>
-<li>
-<p>
-Normalize the transition times
-./normalise-event-start-time < swift-run.time > swift-run.norm
-</p>
-</li>
-<li>
-<p>
-Build up a load data file:
-./cpu-job-load.pl < swift-run.norm > load.data
-</p>
-</li>
-<li>
-<p>
-Plot with the JFreeChart-based plotter in usertools/plotter:
-lines.zsh load.cfg load.eps load.data
-</p>
-</li>
-</ol></div>
+<div class="paragraph"><div class="title">Generate the log (may set log4j.logger.swift=INFO for this one)</div><p>(assuming the log is titled swift-run.log)</p></div>
+<div class="listingblock">
+<div class="title">Convert the log times to Unix time</div>
+<div class="content">
+<pre><tt>./iso-to-secs < swift-run.log > swift-run.time</tt></pre>
+</div></div>
+<div class="listingblock">
+<div class="title">Make the start time file (this contains the earliest timestamp)</div>
+<div class="content">
+<pre><tt>make LOG=swift-run.log start-time.tmp</tt></pre>
+</div></div>
+<div class="paragraph"><p>or</p></div>
+<div class="listingblock">
+<div class="content">
+<pre><tt>extract-start-time swift-run.log > start-time.tmp</tt></pre>
+</div></div>
+<div class="listingblock">
+<div class="title">Normalize the transition times</div>
+<div class="content">
+<pre><tt>./normalise-event-start-time < swift-run.time > swift-run.norm</tt></pre>
+</div></div>
+<div class="listingblock">
+<div class="title">Build up a load data file:</div>
+<div class="content">
+<pre><tt>./cpu-job-load.pl < swift-run.norm > load.data</tt></pre>
+</div></div>
+<div class="listingblock">
+<div class="title">Plot with the JFreeChart-based plotter in usertools/plotter:</div>
+<div class="content">
+<pre><tt>lines.zsh load.cfg load.eps load.data</tt></pre>
+</div></div>
 <div class="sect3">
 <h4 id="_make_a_basic_job_completion_plot_from_coasters_cpu_log_lines">6.1.1. Make a basic job completion plot from Coasters Cpu log lines</h4>
-<div class="paragraph"><p>Same as above, but:</p></div>
-<div class="olist arabic"><ol class="arabic" start="5">
-<li>
-<p>
-Build up a completed data file:
-</p>
-</li>
-</ol></div>
-<div class="olist arabic"><div class="title">/cpu-job-completed.pl < swift-run.norm > completed.data</div><ol class="arabic">
-<li>
-<p>
-Plot with the JFreeChart-based plotter in usertools/plotter:
-</p>
-</li>
-</ol></div>
-<div class="paragraph"><p>lines.zsh completed.cfg completed.eps completed.data</p></div>
+<div class="listingblock">
+<div class="title">Same as above, but, build up a completed data file:</div>
+<div class="content">
+<pre><tt>./cpu-job-completed.pl < swift-run.norm > completed.data</tt></pre>
+</div></div>
+<div class="listingblock">
+<div class="title">Plot with the JFreeChart-based plotter in usertools/plotter:</div>
+<div class="content">
+<pre><tt>lines.zsh completed.cfg completed.eps completed.data</tt></pre>
+</div></div>
 </div>
 <div class="sect3">
 <h4 id="_make_a_basic_block_allocation_plot_from_coasters_block_log_lines">6.1.2. Make a basic Block allocation plot from Coasters Block log lines</h4>
 <div class="paragraph"><p>Same as above, but:</p></div>
-<div class="olist arabic"><ol class="arabic" start="5">
-<li>
-<p>
-Build up a block allocation data file:
-</p>
-</li>
-</ol></div>
-<div class="olist arabic"><div class="title">/block-level.pl < swift-run.norm > blocks.data</div><ol class="arabic">
-<li>
-<p>
-Plot with the JFreeChart-based plotter in usertools/plotter:
-lines.zsh blocks.{cfg,eps,data}
-</p>
-</li>
-</ol></div>
+<div class="listingblock">
+<div class="title">Build up a block allocation data file:</div>
+<div class="content">
+<pre><tt>./block-level.pl < swift-run.norm > blocks.data</tt></pre>
+</div></div>
+<div class="listingblock">
+<div class="title">Plot with the JFreeChart-based plotter in usertools/plotter:</div>
+<div class="content">
+<pre><tt>lines.zsh blocks.{cfg,eps,data}</tt></pre>
+</div></div>
 </div>
 </div>
 <div class="sect2">
@@ -1311,7 +1291,7 @@
 <div id="footer">
 <div id="footer-text">
 Version 0.92<br />
-Last updated 2011-04-25 12:43:22 CDT
+Last updated 2011-04-25 13:03:25 CDT
 </div>
 </div>
 </body>

Modified: www/cookbook/cookbook-asciidoc.txt
===================================================================
--- www/cookbook/cookbook-asciidoc.txt	2011-04-25 17:46:59 UTC (rev 4406)
+++ www/cookbook/cookbook-asciidoc.txt	2011-04-25 18:03:51 UTC (rev 4407)
@@ -599,61 +599,84 @@
 To properly generate log plots, you must enable VDL/Karajan logging.
 
 Make sure log4.properties contains:
---------------------------------------
+----
 log4j.logger.swift=DEBUG
---------------------------------------
+----
 
 Make a basic load plot from Coasters Cpu log lines
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-. Generate the log (may set log4j.logger.swift=INFO for this one)
+.Generate the log (may set log4j.logger.swift=INFO for this one)
 (assuming the log is titled swift-run.log)
 
-. Convert the log times to Unix time
+.Convert the log times to Unix time
+
+----
 ./iso-to-secs < swift-run.log > swift-run.time
+----
 
-. Make the start time file (this contains the earliest timestamp)
+.Make the start time file (this contains the earliest timestamp)
+
+----
 make LOG=swift-run.log start-time.tmp
+----
+
 or 
+
+----
 extract-start-time swift-run.log > start-time.tmp
+----
 
-. Normalize the transition times
+.Normalize the transition times
+
+----
 ./normalise-event-start-time < swift-run.time > swift-run.norm
+----
 
-. Build up a load data file:
+.Build up a load data file:
+
+----
 ./cpu-job-load.pl < swift-run.norm > load.data
+----
 
-. Plot with the JFreeChart-based plotter in usertools/plotter:
+.Plot with the JFreeChart-based plotter in usertools/plotter:
+
+----
 lines.zsh load.cfg load.eps load.data
+----
 
 Make a basic job completion plot from Coasters Cpu log lines
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-Same as above, but:
+.Same as above, but, build up a completed data file:
 
-[start=5]
-. Build up a completed data file:
-
+----
 ./cpu-job-completed.pl < swift-run.norm > completed.data
+----
 
-. Plot with the JFreeChart-based plotter in usertools/plotter:
+.Plot with the JFreeChart-based plotter in usertools/plotter:
 
+----
 lines.zsh completed.cfg completed.eps completed.data
+----
 
 Make a basic Block allocation plot from Coasters Block log lines
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 Same as above, but:
 
-[start=5]
-. Build up a block allocation data file:
+.Build up a block allocation data file:
 
+----
 ./block-level.pl < swift-run.norm > blocks.data
+----
 
-. Plot with the JFreeChart-based plotter in usertools/plotter:
+.Plot with the JFreeChart-based plotter in usertools/plotter:
+
+----
 lines.zsh blocks.{cfg,eps,data}
+----
 
-
 Problem Reporting
 ~~~~~~~~~~~~~~~~~
 When reporting problems to swift-user at ci.uchicago.edu, please attach the




More information about the Swift-commit mailing list