dLife Home Page

dlife.tools.xgrid
Class RunCommands

java.lang.Object
  extended by dlife.tools.xgrid.RunCommands

public class RunCommands
extends Object

A simple command line tool for running commands on a specified xgrid. This tool allows only simple command lines to be executed, it does not provide access to all of the xgrid options. For more demanding applications use the XgridCommand and XgridBatch classes directly.

Version:
Jun 8, 2010
Author:
Grant Braught, Dickinson College

Constructor Summary
RunCommands()
           
 
Method Summary
static void main(String[] args)
          Run the commands listed as command line arguments on the specified xgrid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunCommands

public RunCommands()
Method Detail

main

public static void main(String[] args)
Run the commands listed as command line arguments on the specified xgrid.

Parameters:
args - args[0] is the host name of the xgrid controller. args[1] is the password for the xgrid controller. args[2] is the name of the xgrid on which to run the commands. This is the text name of the xgrid not the numeric grid identifier used by xgrid. This program will translate from the text name of the grid to the numeric grid identifier used by xgrid. args[3...n] are the commands to be executed on the xgrid. use " " to group commands that contain spaces.

dLife Home Page