Runtime.getRuntime().exec(scpCmd);
Process p = Runtime.getRuntime().exec(scpCmd); p.waitFor();  } catch (InterruptedException ie) { System.out.println( "An error occured while executing " + "monitoring program (" + ie.getMessage() + ")");
  private void getMonitoredData(String node, String fileName, 				String outputDir)  {      String [] scpCmd = new String[3];      scpCmd[0] = rubis.getMonitoringScp();      scpCmd[1] = node + ":"+fileName;      scpCmd[2] = outputDir+"/";          try      {          System.out.println(                             "&nbsp &nbsp Command is: "                             + scpCmd[0]                             + " "                             + scpCmd[1]                             + " "                             + scpCmd[2]                             + "<br>\n");          Runtime.getRuntime().exec(scpCmd);      }      catch (IOException ioe)      {	  System.out.println(			     "An error occured while executing "			     + "monitoring program ("			     + ioe.getMessage()			     + ")");      }  }