Config new server and application to run "ps -ef" command and get the result.
- Server name: abc.hec.utah.edu - Application name: PS - Output file name: process.out
- Tools --> Resource Broker2. Add new server:
- Go to File --> Preference3. Add new application: From Application Configuration windows- Go to File --> Config Server
- Click New button --> Enter the hostname --> Click Ok - Fill text boxes with your username and password; then check the interactive check box - Click Test Connection button --> The dialog will let you know if the authentication information is valid. - Click Save&Close
- Choose the newly added server from the server combo box. - Go to the File menu --> Add Application menu Type "PS" as your application name --> Click Ok - PS will appear in the Application combo box - Put your script in the Script text box. It's something like the following:
#!/bin/csh
cd $EXEDIR/$JOBDIR
ps -ef > $OUT
- Fill $EXEDIR text box with your directory on the server. This directory must exist on your server.
- Save and exit.
4. Submit your job: From Resource Broker window
- Select your server in the resource table - Fill the output file text box under the Output File tab with "process.out" - Click the Submit Job button. You will see a progress bar. And then your job appears in the Job status table. - Click Update Job State button. The job status will change to accordingly. - Click Output button to view output files.
| I | Attachment | Action | Size | Date | Who | Comment |
|---|---|---|---|---|---|---|
| | Resource_Broker.JPG | manage | 57.9 K | 14 Feb 2007 - 21:23 | TuongHuynh | |
| | Application_Configuration.JPG | manage | 43.1 K | 14 Feb 2007 - 21:23 | TuongHuynh | |
| | Application_Configuration_with_Script.JPG | manage | 42.4 K | 14 Feb 2007 - 21:24 | TuongHuynh | |
| | Submit_job.JPG | manage | 51.1 K | 14 Feb 2007 - 21:24 | TuongHuynh | |
| | server_configuration.JPG | manage | 34.3 K | 14 Feb 2007 - 21:46 | TuongHuynh | |
| | ProjectPlannerPlugin | manage | 4.0 K | 20 Jun 2007 - 03:22 | UnknownUser |