Forrest logo
back to the scontrol tool

scontrol:tldr:a9a43

scontrol: Suspend a comma-separated list of running jobs.
$ scontrol suspend ${job_id}
try on your machine

The command "scontrol suspend ${job_id}" is used to suspend a specific job in a Slurm job scheduler.

  • "scontrol" is the command-line interface for controlling and managing jobs in Slurm.
  • "suspend" is the option used to suspend or pause a running job.
  • "${job_id}" is a placeholder for the actual job ID. You need to replace it with the specific job ID you want to suspend.

When you execute this command with the correct job ID, it will send a signal to the Slurm scheduler to suspend that particular job. The job will be temporarily halted and won't use any system resources until it is resumed or resumed by another command.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the scontrol tool