Mercurial > hg > Database > Alice
diff scripts/share_run.sh @ 147:ae6ed9c35288 working
change share test
author | sugi |
---|---|
date | Tue, 09 Oct 2012 19:29:33 +0900 |
parents | ed78890ed8e9 |
children | 2a8440684441 |
line wrap: on
line diff
--- a/scripts/share_run.sh Tue Sep 25 14:11:37 2012 +0900 +++ b/scripts/share_run.sh Tue Oct 09 19:29:33 2012 +0900 @@ -4,12 +4,12 @@ ruby ./topology/treen.rb $1 $2 > ./topology/tree.dot dot -Tpng ./topology/tree.dot > ./topology/tree.png #open ./topology/tree.png -java -cp ../Alice.jar alice.topology.manager.TopologyManager -p 10000 -conf ./topology/tree.dot -log ./output/manager.log -level debug > ./output/std_manager.log & +java -cp ../Alice.jar alice.topology.manager.TopologyManager -p 10000 -conf ./topology/tree.dot & cnt=0 while [ $cnt -lt $max ] do - java -cp ../Alice.jar alice.test.topology.share.ShareTopology -host `hostname` -port 10000 -p `expr 20000 + $cnt` -log ./output/share${cnt}.log -level debug > ./output/std_share${cnt}.log & + java -cp ../Alice.jar alice.test.topology.share.ShareTopology -host `hostname` -port 10000 -p `expr 20000 + $cnt` > ./output/std_share${cnt}.log & cnt=`expr $cnt + 1` done wait