From: <ma...@us...> - 2006-08-28 17:19:57
|
Revision: 1458 Author: markwkm Date: 2006-08-28 10:19:50 -0700 (Mon, 28 Aug 2006) ViewCVS: http://svn.sourceforge.net/osdldbt/?rev=1458&view=rev Log Message: ----------- Updated to the awk line for extracting the throughput number to be less prone to formatting changes. Modified Paths: -------------- trunk/dbt3/scripts/pgsql/get_throughput.sh Modified: trunk/dbt3/scripts/pgsql/get_throughput.sh =================================================================== --- trunk/dbt3/scripts/pgsql/get_throughput.sh 2006-08-21 18:39:29 UTC (rev 1457) +++ trunk/dbt3/scripts/pgsql/get_throughput.sh 2006-08-28 17:19:50 UTC (rev 1458) @@ -48,7 +48,7 @@ # # Get the execution time for the throughput test. # -THROUGHPUT=`grep "PERF${PERFNUM}.THRUPUT " ${INFILE} | awk '{ print $11 }'` +THROUGHPUT=`grep "PERF${PERFNUM}.THRUPUT " ${INFILE} | awk -F '|' '{ print $5 }'` if [ -z ${THROUGHPUT} ]; then echo "No throughput data retrieved from database." exit 1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |