clusterlib.scheduler.
queued_or_running_jobs
(user=None, encoding='utf-8')¶Return the names of the queued or running jobs under SGE and SLURM.
The list of jobs could be either the list of all jobs on the scheduler
or only the jobs associated to the user calling this function.
The default behavior is dependant upon scheduler configuration.
Try qstat
in SGE or squeue
in SLURM to know which behavior it
follows.
Parameters: | user : str or None, (default=None)
encoding : str, (default=’utf-8’)
|
---|---|
Returns: | out : list of string,
|