Changes between Version 4 and Version 5 of Tutorial/HowToCommand
- Timestamp:
- Nov 20, 2007, 4:35:39 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorial/HowToCommand
v4 v5 4 4 == How to use execute a shell command on the nodes == 5 5 6 === Prerequisite === 7 6 8 This feature is only available in NodeHandler v4 and above. 7 9 8 Before going through this tutorial, you should know [wiki:Tutorial/HowToImage how to install a disk image].10 Before going through this tutorial, you should know the basics of writing and running an experiment script (see [wiki:Tutorial/HelloWorld here] and [wiki:Tutorial/HowtoWriteScripts here]) 9 11 10 You should also have installed a disk image with Node Agent v4 on the nodes of the testbed you are using (e.g. "baseline-7.11.ndz"). 12 You should also have installed a disk image with Node Agent v4 on the nodes of the testbed you are using (e.g. "baseline-7.11.ndz"). See [wiki:Tutorial/HowToImage "How to install a disk image"]. 11 13 12 14 === Goal === … … 20 22 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 23 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].23 24 24 To run this example script, use the following command: 25 25 … … 28 28 }}} 29 29 30 (This assumes that you previously logged in to a testbed , and imaged its nodes witha disk image such as "baseline-7.11.ndz".)30 (This assumes that you previously logged in to a testbed with its nodes having a disk image such as "baseline-7.11.ndz".) 31 31 32 32 === The Results ===