annotate scripts/showTopo.sh @ 545:074c6716f906 dispose

add AliceDeamon on paramater. not working TestLocalAlice
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Tue, 04 Aug 2015 16:24:59 +0900
parents 094d8fa4945e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
185
094d8fa4945e add comment
e095732
parents:
diff changeset
1 #!/bin/bash
094d8fa4945e add comment
e095732
parents:
diff changeset
2 max=$1
094d8fa4945e add comment
e095732
parents:
diff changeset
3 child_num=`expr $max - 1`
094d8fa4945e add comment
e095732
parents:
diff changeset
4 ruby ./topology/treen.rb $max 2 > ./topology/tree.dot
094d8fa4945e add comment
e095732
parents:
diff changeset
5 dot -Tpng ./topology/tree.dot > ./topology/tree.png
094d8fa4945e add comment
e095732
parents:
diff changeset
6 open ./topology/tree.png
094d8fa4945e add comment
e095732
parents:
diff changeset
7