Changes between Version 2 and Version 3 of Tutorial/HowToCommand
- Timestamp:
- Nov 19, 2007, 11:58:08 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorial/HowToCommand
v2 v3 18 18 This experiment is given in the attached script [attachment:tut_cmd_1.rb tut_cmd_1.rb]. 19 19 20 This file contains extensive comments that should help you understand the different steps involved in executing a shell command on the nodes of a testbed. For more information on the basics of writing and using an experiment script, please refer to the previous tutorials, [wiki:Tutorial/HowtoWriteScripts here] and [wiki:Tutorial/HelloWorld here]. 20 This file contains extensive comments that should help you understand the different steps involved in executing a shell command on the nodes of a testbed. It also shows how you could process the command outputs, e.g. redirect them to a text file. 21 22 For more information on the basics of writing and using an experiment script, please refer to the previous tutorials, [wiki:Tutorial/HowtoWriteScripts here] and [wiki:Tutorial/HelloWorld here]. 21 23 22 24 To run this example script, use the following command: … … 26 28 }}} 27 29 28 (This assumes that you previously logged in to thea testbed, and imaged its nodes with a disk image such as "baseline-7.11.ndz".)30 (This assumes that you previously logged in to a testbed, and imaged its nodes with a disk image such as "baseline-7.11.ndz".) 29 31 30 32 === The Results === 31 33 32 The experiment screen output should then look like [attachment: grid_2007_08_27_20_45_37-Output.txt this]. And the experiment log file should look like [attachment:grid_2007_08_27_20_45_37.log this].34 The experiment screen output should then look like [attachment:sb1_2007_11_19_18_45_06-Output.txt this]. And the experiment log file should look like [attachment:sb1_2007_11_19_18_45_06.log this]. 33 35 34 36 === More... ===