annotate scripts/fish_run.sh @ 208:a645cece5edc
working
before use Flip in no arraylist
author |
sugi |
date |
Tue, 26 Mar 2013 17:08:32 +0900 |
parents |
73158dc54c59 |
children |
2a8440684441 |
rev |
line source |
37
|
1 #!/bin/bash
|
|
2 max=$1
|
|
3 child_num=$2
|
|
4 ruby ./topology/treen.rb $1 $2 > ./topology/tree.dot
|
44
|
5 java -cp ../Alice.jar alice.topology.manager.TopologyManager -p 10000 -conf ./topology/tree.dot -log ./output/manager.log -level debug > ./output/std_manager.log &
|
37
|
6
|
|
7 cnt=0
|
|
8 while [ $cnt -lt $max ]
|
|
9 do
|
44
|
10 java -cp ../Alice.jar 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
|
11 cnt=`expr $cnt + 1`
|
|
12 done
|
|
13 wait
|