[Swift-commit] r2284 - log-processing/libexec

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Oct 6 21:33:23 CDT 2008


Author: benc
Date: 2008-10-06 21:33:23 -0500 (Mon, 06 Oct 2008)
New Revision: 2284

Modified:
   log-processing/libexec/everylog-time-cumulative.plot
   log-processing/libexec/everylog-vs-versions
Log:
better human readable date stamps

Modified: log-processing/libexec/everylog-time-cumulative.plot
===================================================================
--- log-processing/libexec/everylog-time-cumulative.plot	2008-10-07 01:42:50 UTC (rev 2283)
+++ log-processing/libexec/everylog-time-cumulative.plot	2008-10-07 02:33:23 UTC (rev 2284)
@@ -4,7 +4,13 @@
 set ylabel 'cumulative invocations'
 set xlabel 'time'
 
+set timefmt '%Y-%m-%d'
+set xdata time
+
+set format x "%b %y"
+
+
 set key outside below
 
-plot 'everylog-time-cumulative.data' with lines
+plot 'everylog-time-cumulative.data' using 1:2 with lines
 

Modified: log-processing/libexec/everylog-vs-versions
===================================================================
--- log-processing/libexec/everylog-vs-versions	2008-10-07 01:42:50 UTC (rev 2283)
+++ log-processing/libexec/everylog-vs-versions	2008-10-07 02:33:23 UTC (rev 2284)
@@ -8,7 +8,7 @@
 
 gnuplot everylog-version-cumulative.plot
 
-cat everylog-vs-versions.data | cut -f 1 -d ' ' | sort -n | ./number-sites-list  > everylog-time-cumulative.data
+cat everylog-vs-versions.data | cut -f 1 -d ' ' | sort -n | ./number-sites-list  | while read l r ; do  echo $(./sec-to-utc-day $l) $r ; done > everylog-time-cumulative.data
 
 gnuplot everylog-time-cumulative.plot
 




More information about the Swift-commit mailing list