[Swift-commit] r2203 - log-processing
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Wed Aug 27 03:11:56 CDT 2008
Author: benc
Date: 2008-08-27 03:11:55 -0500 (Wed, 27 Aug 2008)
New Revision: 2203
Added:
log-processing/annotate-karatasks-with-execute2-id
Modified:
log-processing/makefile
Log:
karajan transitions file annotated with execute2 IDs
Added: log-processing/annotate-karatasks-with-execute2-id
===================================================================
--- log-processing/annotate-karatasks-with-execute2-id (rev 0)
+++ log-processing/annotate-karatasks-with-execute2-id 2008-08-27 08:11:55 UTC (rev 2203)
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# feed in karatasks.JOB_SUBMISSION.transitions and column 5 will be
+# made to be the execute2 id associated with that karajan task,
+# if there is such an association (not all execution tasks will be
+# associated with an execute2)
+
+# 1219781848.384 0-1-1219781848210 Active JOB_SUBMISSION
+
+while read time karaid state type rest; do
+ exec2id=$(./get-jobid-for-karajanid $karaid)
+ echo $time $karaid $state $type $exec2id $rest
+done
Property changes on: log-processing/annotate-karatasks-with-execute2-id
___________________________________________________________________
Name: svn:executable
+ *
Modified: log-processing/makefile
===================================================================
--- log-processing/makefile 2008-08-27 07:52:55 UTC (rev 2202)
+++ log-processing/makefile 2008-08-27 08:11:55 UTC (rev 2203)
@@ -152,3 +152,5 @@
jobid-karajanid-bindings: $(LOG)
./extract-jobid-karajanid-bindings <$(LOG) >jobid-karajanid-bindings
+karatasks.JOB_SUBMISSION.annotated-execute2.transitions: karatasks.JOB_SUBMISSION.transitions
+ ./annotate-karatasks-with-execute2-id < karatasks.JOB_SUBMISSION.transitions > karatasks.JOB_SUBMISSION.annotated-execute2.transitions
More information about the Swift-commit
mailing list