From e006b6036fb2947abe8db08881bb758ffd77d72c Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Fri, 21 May 2010 11:51:42 +0200 Subject: [PATCH] Support for settings. Default users is 5. --- perf/bash/par.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perf/bash/par.sh b/perf/bash/par.sh index 518d16e..fb4e945 100755 --- a/perf/bash/par.sh +++ b/perf/bash/par.sh @@ -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 -- 1.7.10.4