Author: mircea.markus
Date: 2008-01-06 08:20:52 -0500 (Sun, 06 Jan 2008)
New Revision: 5008
Modified:
cache-bench-fwk/trunk/runNode.sh
Log:
changed the cleanup logic
Modified: cache-bench-fwk/trunk/runNode.sh
===================================================================
--- cache-bench-fwk/trunk/runNode.sh 2008-01-06 12:54:43 UTC (rev 5007)
+++ cache-bench-fwk/trunk/runNode.sh 2008-01-06 13:20:52 UTC (rev 5008)
@@ -5,7 +5,7 @@
CACHE_DEBUG=true
preferIPv4Stack=true
-export JVM_ARGS=-Xmx1024m
+export JVM_ARGS=-Xmx2048m
if [ -z $1 ]
then
@@ -21,10 +21,11 @@
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
-for PID in `ps -fe | grep "Cache*BenchmarkRunner" | cut -c 10-20`
-do
- kill PID
-done
+ps -fe | grep "Cache*BenchmarkRunner" | cut -c 10-20 | xargs -r 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/*
Show replies by date