repeated rounds of incresing users
authorDennis Schafroth <dennis@indexdata.com>
Fri, 18 Feb 2011 10:19:00 +0000 (11:19 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Fri, 18 Feb 2011 10:19:00 +0000 (11:19 +0100)
perf/bash/par_fixed_count.sh [new file with mode: 0644]

diff --git a/perf/bash/par_fixed_count.sh b/perf/bash/par_fixed_count.sh
new file mode 100644 (file)
index 0000000..461ce06
--- /dev/null
@@ -0,0 +1,16 @@
+
+if [ "$2" == "" ] ; then 
+    echo "Missing range" 
+    exit 1
+fi
+
+LOOP=$3
+if [ "$3" == "" ] ; then 
+    LOOP=1
+fi
+
+for e in `seq $LOOP` ; do 
+    for d in `seq $1 $2` ; do 
+       sh ./par_fixed_clients.sh $d 9005 perf_t ; sleep 120 ; 
+    done
+done