43 | | [OPTION] are: |
44 | | -h, --help print this help message |
45 | | -d, --domain NAME query nodes on the testbed NAME |
46 | | (default is the testbed where this command is executed) |
| 44 | With: |
| 45 | -h, --help print this help message |
| 46 | -c, --count print a summary of the node status for the testbed DOMAIN |
| 47 | (default is the testbed where this command is executed) |
| 48 | TOPOLOGY a valid topology description or file |
| 49 | (default is the entire set of nodes on the default testbed) |
48 | | Valid NODES format are: |
49 | | all returns status of all nodes |
50 | | x,y returns status of the node at coordinate ( x , y ) |
51 | | x1..x2,y returns status of all the nodes with coordinates |
52 | | in the range ( [x1..x2] , y ) |
53 | | (other valid combinations: x1..x2,y1..y2 and x,y1..y2 ) |
54 | | |
55 | | Valid COMMAND are: |
56 | | -t, --topo FILENAME return status of nodes from the topology file FILENAME |
57 | | -on, --counton return the number of nodes in 'ON' state |
58 | | -off, --countoff return the number of nodes in 'OFF' state |
59 | | -ko, --countko return the number of nodes in 'Not Available' state |
60 | | |
61 | | Examples: |
62 | | statnode all |
63 | | statnode 1,1 4,2 6,3..5 |
64 | | statnode --d sb1 1,1..2 |
65 | | statnode --domain sb2 all |
66 | | statnode --topo topo_grid_active.rb |
67 | | statnode -on |
68 | | statnode --countoff |
| 51 | Some Examples: |
| 52 | statnode all grid |
| 53 | statnode [[1,2],[1,1]] sb1 |
| 54 | statnode [[1,1],[2..6,1..2]] |
| 55 | statnode system:topo:all |
| 56 | statnode system:topo:circle |