[Swift-commit] r5713 - provenancedb

lgadelha at ci.uchicago.edu lgadelha at ci.uchicago.edu
Tue Mar 13 07:53:18 CDT 2012


Author: lgadelha
Date: 2012-03-13 07:53:17 -0500 (Tue, 13 Mar 2012)
New Revision: 5713

Modified:
   provenancedb/prov-to-sql.sh
Log:


Modified: provenancedb/prov-to-sql.sh
===================================================================
--- provenancedb/prov-to-sql.sh	2012-03-13 04:43:22 UTC (rev 5712)
+++ provenancedb/prov-to-sql.sh	2012-03-13 12:53:17 UTC (rev 5713)
@@ -158,17 +158,17 @@
 	minorpagefaults=$(echo $runtime | awk -F "," '{print $12}' | awk -F ":" '{print $2}')
 	contextswitchesinv=$(echo $runtime | awk -F "," '{print $13}' | awk -F ":" '{print $2}')
 	contextswitchesvol=$(echo $runtime | awk -F "," '{print $14}' | awk -F ":" '{print $2}')
-	echo "UPDATE app_exec SET maxrss=$maxrss, walltime=$walltime, systime=$systime, usertime=$usertime,cpu=$cpu,fsin=$fsin,fsout=$fsout,timesswapped=$timesswapped,socketrecv=$socketrecv,socketsent=$socketsent,majorpagefaults=$majorpagefaults,minorpagefaults=$minorpagefaults,contextswitchesinv=$contextswitchesinv,contextswitchesvol=$contextswitchesvol where app_exec_id='$execute2_id';"  >> /tmp/$RUNID-6.sql
+	echo "UPDATE app_exec SET maxrss=$maxrss, walltime=$walltime, systime=$systime, usertime=$usertime, cpu=$cpu, fsin=$fsin, fsout=$fsout, timesswapped=$timesswapped, socketrecv=$socketrecv, socketsent=$socketsent, majorpagefaults=$majorpagefaults, minorpagefaults=$minorpagefaults, contextswitchesinv=$contextswitchesinv, contextswitchesvol=$contextswitchesvol where id='$execute2_id';"  >> /tmp/$RUNID-6.sql
     done < runtime.txt
 fi
 
 for i in `seq 1 6`
 do
 	cat /tmp/$RUNID-$i.sql | sort | uniq >> /tmp/$RUNID.sql
-	#rm /tmp/$RUNID-$i.sql
+	rm /tmp/$RUNID-$i.sql
 done
 
 echo "COMMIT;" >> /tmp/$RUNID.sql
 $SQLCMD -f /tmp/$RUNID.sql
-#rm /tmp/$RUNID.sql
+rm /tmp/$RUNID.sql
 echo Finished sending SQL to DB
\ No newline at end of file




More information about the Swift-commit mailing list