diff options
Diffstat (limited to 'TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/run_roundtrip.sh')
-rwxr-xr-x | TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/run_roundtrip.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/run_roundtrip.sh b/TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/run_roundtrip.sh new file mode 100755 index 00000000000..ca94f25d439 --- /dev/null +++ b/TAO/orbsvcs/performance-tests/RTEvent/Roundtrip/run_roundtrip.sh @@ -0,0 +1,22 @@ +#! /bin/sh +# +# $Id$ +# + +. parameters + +for c in $NCONSUMERS; do + + date + echo $t $c $n + + /bin/rm -f $IOR +# ssh $REMOTE_HOST "cd $REMOTE_LOCATION ; ./server -ORBSvcConf ec.locking_${t}.conf -r -o $IOR" >server.log 2>&1 </dev/null & + ./server -ORBSvcConf roundtrip.conf -o $IOR -n 4 >server.log 2>&1 </dev/null & + while [ ! -f $IOR ]; do + sleep 1 + done + ./client -d -u -h 10000 -l 10000 -i $ITERATIONS -c $c -n 0 -k file://$IOR > ec_roundtrip.$c.txt 2>&1 + + wait +done |