Mercurial > hg > Database > Alice
annotate scripts/fish_run.sh @ 530:4aeebea0c9b5 dispose
can't unzip
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 03 May 2015 10:04:28 +0900 |
parents | 2a8440684441 |
children |
rev | line source |
---|---|
37 | 1 #!/bin/bash |
2 max=$1 | |
3 child_num=$2 | |
348 | 4 jar_path=../build/libs/Alice.jar |
5 | |
37 | 6 ruby ./topology/treen.rb $1 $2 > ./topology/tree.dot |
348 | 7 java -cp $jar_path alice.topology.manager.TopologyManager -p 10000 -conf ./topology/tree.dot -log ./output/manager.log -level debug > ./output/std_manager.log & |
37 | 8 |
9 cnt=0 | |
10 while [ $cnt -lt $max ] | |
11 do | |
348 | 12 java -cp $jar_path alice.test.topology.fish.DistributedFish -host `hostname` -port 10000 -p `expr 20000 + $cnt` -log ./output/fish${cnt}.log -level debug > ./output/std_fish${cnt}.log & |
37 | 13 cnt=`expr $cnt + 1` |
14 done | |
15 wait |