Class SlurmEngine.SqueueCmd

java.lang.Object
net.sf.basedb.opengrid.CmdResult<JobStatus>
net.sf.basedb.opengrid.engine.SlurmEngine.SqueueCmd
Enclosing class:
SlurmEngine

public static class SlurmEngine.SqueueCmd extends CmdResult<JobStatus>
Implements the 'squeue' command for getting information about a waiting or running job. We need to use '-o %all' to get output with '|' as separator. It is not possible to specify only the columns that we need.
  • Field Details

  • Constructor Details

  • Method Details

    • parseResult

      protected void parseResult()
      Description copied from class: CmdResult
      This method is called after the command has been executed and the exit code, stdout and stderr has been updated. Subclasses can override this method to take actions. The default implementation does nothing.
      Overrides:
      parseResult in class CmdResult<JobStatus>