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

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Oct 6 00:27:55 CDT 2008


Author: benc
Date: 2008-10-06 00:27:54 -0500 (Mon, 06 Oct 2008)
New Revision: 2280

Modified:
   log-processing/libexec/all-logs-active-jobsubmissions-count-graph
Log:
take log repo path on command line

Modified: log-processing/libexec/all-logs-active-jobsubmissions-count-graph
===================================================================
--- log-processing/libexec/all-logs-active-jobsubmissions-count-graph	2008-10-06 03:47:04 UTC (rev 2279)
+++ log-processing/libexec/all-logs-active-jobsubmissions-count-graph	2008-10-06 05:27:54 UTC (rev 2280)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-find /Users/benc/work/logs/ -type f -name \*.log -exec grep 'DEBUG TaskImpl Task(type=JOB_SUBMISSION, identity=' {} \; | grep 'setting status to Active' | ./iso-to-secs | cut -d ' ' -f 1 | sort -n | ./number-sites-list  > all-logs-active-tasks.data.1.tmp
+find $1 -type f -name \*.log -exec grep 'DEBUG TaskImpl Task(type=JOB_SUBMISSION, identity=' {} \; | grep 'setting status to Active' | ./iso-to-secs | cut -d ' ' -f 1 | sort -n | ./number-sites-list  > all-logs-active-tasks.data.1.tmp
 
 while read l r ; do
   echo $(./sec-to-utc-day $l) $r




More information about the Swift-commit mailing list