[jbosscache-commits] JBoss Cache SVN: r5241 - benchmarks/benchmark-fwk/trunk.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Mon Jan 28 05:17:12 EST 2008


Author: manik.surtani at jboss.com
Date: 2008-01-28 05:17:12 -0500 (Mon, 28 Jan 2008)
New Revision: 5241

Modified:
   benchmarks/benchmark-fwk/trunk/runNode.sh
Log:


Modified: benchmarks/benchmark-fwk/trunk/runNode.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/runNode.sh	2008-01-25 16:56:47 UTC (rev 5240)
+++ benchmarks/benchmark-fwk/trunk/runNode.sh	2008-01-28 10:17:12 UTC (rev 5241)
@@ -9,7 +9,8 @@
 CACHE_PRODUCT=${2}
 TEST_CFG=${3}
 CLUSTER_SIZE=${4}
-PIDFILE=PID.`hostname -s`.pid
+hostname=`hostname -s`
+PIDFILE=PID.${hostname}.pid
 if [ -e ${PIDFILE} ]
 then
    # first test if the process is still running.  If not, clean up the PID file.
@@ -70,7 +71,7 @@
    echo
 fi
 
-${TO_EXECUTE} &
+${TO_EXECUTE} > STDIO_ERR.${hostname}.txt 2>&1 &
 echo $!>${PIDFILE}
 echo "Return code from benchmark runner is $?"
 




More information about the jbosscache-commits mailing list