annotate scripts/showTopo.sh @ 330:d35ff0f588e8

keep alive may work... but bug exist.
author sugi
date Mon, 31 Mar 2014 22:28:52 +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