[Swift-commit] r4324 - trunk/libexec/log-processing

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Fri Apr 8 15:32:59 CDT 2011


Author: wozniak
Date: 2011-04-08 15:32:59 -0500 (Fri, 08 Apr 2011)
New Revision: 4324

Modified:
   trunk/libexec/log-processing/README.txt
Log:
Update README with new plot data extractors


Modified: trunk/libexec/log-processing/README.txt
===================================================================
--- trunk/libexec/log-processing/README.txt	2011-04-08 20:26:49 UTC (rev 4323)
+++ trunk/libexec/log-processing/README.txt	2011-04-08 20:32:59 UTC (rev 4324)
@@ -9,34 +9,47 @@
 log4j.logger.swift=DEBUG
 --------------------------------------
 
-To make a basic load plot:
-
-* Generate the log (may set log4j.logger.swift=INFO for this one)
+Make a basic load plot from Coasters Cpu log lines
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+. Generate the log (may set log4j.logger.swift=INFO for this one)
 (assuming the log is titled swift-run.log)
 
-* Make the execute transitions file:
+. Convert the log times to Unix time
 ------------------------------------------
-make LOG=swift-run.log execute.transitions
-------------------------------------------
-These transitions are relative to the Unix epoch
+./iso-to-secs < swift-run.log > tmp.log
 
-* 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
+make LOG=tmp.log start-time.tmp
 ------------------------------------------
 
-* Normalize the transition times
+. Normalize the transition times
 ------------------------------------------
-./normalise-event-start-time < execute.transitions > execute.norm
+./normalise-event-start-time < tmp.log > tmp.norm
 ------------------------------------------
 
-* Build up a load data file:
+. Build up a load data file:
 ------------------------------------------
-./accumulate-load.pl < execute.norm > load.data
+./cpu-job-load.pl < tmp.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:
+
+[start=5]
+. Build up a completed data file:
+------------------------------------------
+./cpu-job-completed.pl < tmp.norm > completed.data
+------------------------------------------
+
+. Plot with the JFreeChart-based plotter in usertools/plotter:
+------------------------------------------
+lines.zsh completed.cfg completed.eps completed.data
+------------------------------------------




More information about the Swift-commit mailing list