Changes between Version 2 and Version 3 of Tutorial/HowToStatus


Ignore:
Timestamp:
Jul 2, 2007, 8:15:13 AM (17 years ago)
Author:
thierry
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorial/HowToStatus

    v2 v3  
    2323  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
     25 }}}
    2526
     27The complete available option/commands for ''statnode'' are:
     28
     29 {{{
     30  statnode --help
     31
     32  Returns the status of the nodes in a testbed
     33Usage:
     34      status [OPTION] NODES NODES NODES ...
     35      status [OPTION] COMMAND
     36 
     37      [OPTION] are:
     38      -h, --help         print this help message
     39      -d, --domain NAME  query nodes on the testbed NAME (default is the testbed where this command is executed)
     40 
     41      Valid NODES format are:
     42      all                returns status of all nodes
     43      x,y                returns status of the node at coordinate ( x , y )
     44      x1..x2,y           returns status of all the nodes with coordinates in the range ( [x1..x2] , y )
     45                         (other valide combinations:  x1..x2,y1..y2   and   x,y1..y2 )
     46 
     47      Valid COMMAND are:
     48      -t, --topo FILENAME  return status of nodes from the topology file FILENAME
     49      -on, --counton       return the number of nodes in 'ON' state
     50      -off, --countoff     return the number of nodes in 'OFF' state
     51      -ko, --countko       return the number of nodes in 'Not Available' state
     52 
     53      Examples:
     54               status all
     55               status 1,1 4,2 6,3..5
     56               status --d sb1 1,1..2
     57               status --domain sb2 all
     58               status --topo topo_grid_active.rb
     59               status -on
     60               status --countoff
    2661 }}}
     62