public JobState getJobStatus(MonitorID monitorID) throws SSHApiException {
        String jobID = monitorID.getJobID();
        //todo so currently we execute the qstat for each job but we can use user based monitoring
        //todo or we should concatenate all the commands and execute them in one go and parse the response
        return getStatusFromString(cluster.getJobStatus(jobID).toString());
    }
public JobState getJobStatus(MonitorID monitorID) throws SSHApiException {
        String jobID = monitorID.getJobID();
       
       
        return getStatusFromString(cluster.getJobStatus(jobID).toString());
    }
public jobstate getjobstatus(monitorid monitorid) throws sshapiexception { string jobid = monitorid.getjobid(); return getstatusfromstring(cluster.getjobstatus(jobid).tostring()); }