comparison scripts/fishBeta_run.sh @ 109:96674c803853 working

set background
author sugi
date Sun, 15 Jul 2012 20:48:01 +0900
parents a8f77957a477
children f84e1684c6be
comparison
equal deleted inserted replaced
108:5f0010c13631 109:96674c803853
1 #!/bin/bash 1 #!/bin/bash
2 max=$1 2 max=$1
3 child_num=$2 3 child_num=$2
4 ruby ./topology/treen.rb $1 $2 > ./topology/tree.dot 4 ruby ./topology/treen.rb $1 $2 > ./topology/tree.dot
5 #dot -Tpng ./topology/tree.dot > ./topology/tree.png 5 dot -Tpng ./topology/tree.dot > ./topology/tree.png
6 #open ./topology/tree.png 6 open ./topology/tree.png
7 java -cp ../Alice.jar alice.topology.manager.TopologyManager -p 10000 -conf ./topology/tree.dot -log ./output/manager.log -level debug > ./output/std_manager.log & 7 java -cp ../Alice.jar alice.topology.manager.TopologyManager -p 10000 -conf ./topology/tree.dot -log ./output/manager.log -level debug > ./output/std_manager.log &
8 8
9 cnt=0 9 cnt=0
10 while [ $cnt -lt $max ] 10 while [ $cnt -lt $max ]
11 do 11 do