Changes between Version 35 and Version 36 of Documentation/CGettingStarted


Ignore:
Timestamp:
Aug 30, 2006, 6:33:55 PM (18 years ago)
Author:
kishore
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/CGettingStarted

    v35 v36  
    5959[[Image(howto5.PNG)]]
    6060
     61Alternatively, a specific script can be run as follows:
     62
     63The experiment can be started with:
     64{{{
     65user#> nodehandler -k <full-path/script-name>
     66}}}
     67
     68For e.g., if my script is called orbit-test.rb and it resides in /home/joenull/Ruby-Scripts/ (ORBIT home directory), I would execute it as follows:
     69{{{
     70user#>pwd
     71/home/joenull
     72user#>nodehandler ~/Ruby-Scripts/orbit-test
     73}}}
     74
     75Note that I leave out the ".rb" at the end. This will execute the scripts and turn the nodes OFF at the end of the experiment. If you want to leave them ON after the experiment, use the "-k" flag. For e.g.
     76{{{
     77user#>pwd
     78/home/joenull
     79user#>nodehandler -k ~/Ruby-Scripts/orbit-test
     80}}}
    6181
    6282More information on writing experiment scripts can be found in the [wiki:Tutorial Tutorial].