Author: mircea.markus
Date: 2008-01-05 18:24:50 -0500 (Sat, 05 Jan 2008)
New Revision: 5003
Modified:
cache-bench-fwk/trunk/runNode.sh
Log:
added aditional check
Modified: cache-bench-fwk/trunk/runNode.sh
===================================================================
--- cache-bench-fwk/trunk/runNode.sh 2008-01-05 21:51:31 UTC (rev 5002)
+++ cache-bench-fwk/trunk/runNode.sh 2008-01-05 23:24:50 UTC (rev 5003)
@@ -21,13 +21,17 @@
export SYS_PROPS="-DcurrentIndex=$1 -Dorg.cachebench.debug=$CACHE_DEBUG
-Djava.net.preferIPv4Stack=$preferIPv4Stack"
#first kill all the exisiting processes as they might interfere with the new ones/ not
sure this works on cygwin
-ps -fe | grep CacheBenchmarkRunner | cut -c 10-20 | xargs kill
+for PID in `ps -fe | grep "Cache*BenchmarkRunner" | cut -c 10-20`
+do
+ kill PID
+done
#libraries needed by the fwk, add them to the classpath
for JAR in ./lib/*
do
FWK_CLASS_PATH=$FWK_CLASS_PATH:$JAR
done
+
FWK_CLASS_PATH=$FWK_CLASS_PATH:./conf:./classes/production/Framework
export FWK_CLASS_PATH
Show replies by date