Changes between Version 8 and Version 9 of Tutorial/HowToStatus


Ignore:
Timestamp:
Jul 3, 2007, 7:01:02 AM (17 years ago)
Author:
thierry
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorial/HowToStatus

    v8 v9  
    2121  # will query the status of the entire set of 20x20 nodes on the 'grid'
    2222 
    23   statnode 3,1 5,6 1,1..2
     23  statnode [[3,1],[5,6],[1,1..2]]
    2424  # will query the status of nodes 3,1 and 5,6 and 1,1 and 1,2
    2525
    26   statnode -t topofile.rb
    27   # will query the status of the nodes in the topology file 'topofile.rb'
     26  statnode system:topo:circle
     27  # will query the status of the nodes in the topology file 'system:topo:circle'
    2828
    29   statnode -on
    30   # will return the number of nodes in 'ON' state, i.e. powered-ON
     29  statnode -c
     30  # will return a summary of the state of the nodes on the grid
    3131 }}}
    3232
     
    3636  statnode --help
    3737
    38   Returns the status of the nodes in a testbed
     38Returns the status of the nodes in a testbed
    3939Usage:
    40       statnode [OPTION] NODES NODES NODES ...
    41       statnode [OPTION] COMMAND
     40      statnode [-h]
     41      statnode [-c] [DOMAIN]
     42      statnode [TOPOLOGY] [DOMAIN]
    4243 
    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)
    4750 
    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
    6957 }}}
    7058