crew_class_monitor_slurm | R Documentation |
SLURM monitor R6
class
See crew_monitor_slurm()
.
crew.cluster::crew_class_monitor_cluster
-> crew_class_monitor_slurm
jobs()
List SLURM jobs.
crew_class_monitor_slurm$jobs(user = ps::ps_username())
user
Character of length 1, user name of the jobs to list.
This function loads the entire SLURM queue for all users, so it may take several seconds to execute. It is intended for interactive use, and should especially be avoided in scripts where it is called frequently. It requires SLURM version 20.02 or higher, along with the YAML plugin.
A tibble
with one row per SLURM job and columns with
specific details.
terminate()
Terminate one or more SLURM jobs.
crew_class_monitor_slurm$terminate(jobs = NULL, all = FALSE)
jobs
Character vector of job names or job IDs to terminate.
Ignored if all
is set to TRUE
.
all
Logical of length 1, whether to terminate all the jobs
under your user name. This terminates ALL your SLURM jobs,
regardless of whether crew.cluster
launched them,
so use with caution!
NULL
(invisibly).
Other slurm:
crew_class_launcher_slurm
,
crew_controller_slurm()
,
crew_launcher_slurm()
,
crew_monitor_slurm()
,
crew_options_slurm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.