Support for settings. Default users is 5.
authorDennis Schafroth <dennis@indexdata.com>
Fri, 21 May 2010 09:51:42 +0000 (11:51 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Fri, 21 May 2010 09:51:42 +0000 (11:51 +0200)
perf/bash/par.sh

index 518d16e..fb4e945 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 DELAY=0.001
 WAIT=5
-NUMBER=10
+NUMBER=5
 ROUNDS=5
 PORT=9004
 SERVICE=perf_t
@@ -14,7 +14,7 @@ while test $r -lt $ROUNDS; do
        echo "$r"
        let i=0
        while test $i -lt $NUMBER; do
-               ./client.sh $r.$i $PORT $SERVICE >$r.$i.log 2>&1 &
+               ./client.sh $r.$i $PORT $SERVICE $SETTINGS >$r.$i.log 2>&1 &
                sleep $DELAY
                let i=$i+1
        done