3 if [ -z "$NUMBER" ] ; then
13 CLIENT_SCRIPT="client_timed.sh"
14 while test $r -lt $ROUNDS; do
17 while test $i -lt $NUMBER; do
18 ./${CLIENT_SCRIPT} $r.$i $PORT >$r.$i.log 2>&1 &
19 CLIENTS=`ps -ef |grep -c ${CLIENT_SCRIPT}`
20 while test $CLIENTS -ge $NUMBER ; do
22 CLIENTS=`ps -ef |grep -c ${CLIENT_SCRIPT}`
23 echo "Active $CLIENTS"
30 cat *.time > timed.$NUMBER.log
31 #wget --tries=1 -O x "http://localhost:${PORT}/?command=exit"