8 | | * [http://www.orbit-lab.org/register Register] for an account |
9 | | * [https://www.orbit-lab.org/schedule/ Make a reservation] on the Schedular for a given tesbed |
10 | | |
11 | | Lets assume that you registered as user 'bob' and made a reservation for the 'grid' testbed. You then access the 'grid' console using the command: |
12 | | |
13 | | {{{ |
14 | | ssh bob@console.grid.orbit-lab.org |
15 | | }}} |
16 | | |
17 | | [[BR]] |
18 | | == Getting Started == |
19 | | |
20 | | Then, to query the status of some nodes on the 'grid' testbed, use the command: |
21 | | |
22 | | {{{ |
23 | | omf stat all |
24 | | # will query the status of the entire set of 20x20 nodes on the 'grid' |
25 | | |
26 | | omf stat [[3,1],[5,6],[1,1..2]] |
27 | | # will query the status of nodes 3,1 and 5,6 and 1,1 and 1,2 |
28 | | |
29 | | omf stat system:topo:circle |
30 | | # will query the status of the nodes in the topology file 'repository/system/topo/circle.rb' |
31 | | |
32 | | omf stat mytopo |
33 | | # will query the status of the nodes in the topology file './mytopo.rb' |
34 | | |
35 | | omf stat -c |
36 | | # will return a summary of the state of the nodes on the grid |
37 | | }}} |
38 | | |
39 | | [[BR]] |
40 | | == Learning More == |
41 | | |
42 | | The complete available options for this command is given by ''"omf help stat"'': |
43 | | |
44 | | {{{ |
45 | | omf help stat |
46 | | |
47 | | Returns the status of the nodes in a testbed |
48 | | |
49 | | Usage: |
50 | | omf stat [-h] |
51 | | omf stat [-c] [DOMAIN] |
52 | | omf stat [TOPOLOGY] [DOMAIN] |
53 | | |
54 | | With: |
55 | | -h, --help print this help message |
56 | | -c, --count print a summary of the node status for the testbed DOMAIN |
57 | | (default is the testbed where this command is executed) |
58 | | TOPOLOGY a valid topology description or file without the trailing '.rb' |
59 | | (default is the entire set of nodes on the default testbed) |
60 | | |
61 | | Some Examples: |
62 | | omf stat all grid |
63 | | omf stat 1,1..2 |
64 | | omf stat [[1,2],[1,1]] sb1 |
65 | | omf stat [[1,1],[2..6,1..2]] |
66 | | omf stat system:topo:all |
67 | | omf stat system:topo:circle |
68 | | omf stat topo_grid_active |
69 | | |
70 | | }}} |
71 | | |