scontrol

View information about and modify jobs. More information: <https://slurm.schedmd.com/scontrol.html>.

Install

All systems
curl cmd.cat/scontrol.sh
Debian Debian
apt-get install slurm-client
Ubuntu
apt-get install slurm-client
image/svg+xml Kali Linux
apt-get install slurm-client
Fedora
dnf install slurm
Windows (WSL2)
sudo apt-get update sudo apt-get install slurm-client
OS X
brew install slurm
Raspbian
apt-get install slurm-client

View information about and modify jobs. More information: <https://slurm.schedmd.com/scontrol.html>.

  • Show information for job:
    scontrol show job job_id
  • Suspend a comma-separated list of running jobs:
    scontrol suspend job_id
  • Resume a comma-separated list of suspended jobs:
    scontrol resume job_id
  • Hold a comma-separated list of queued jobs (Use `release` command to permit the jobs to be scheduled):
    scontrol hold job_id
  • Release a comma-separated list of suspended job:
    scontrol release job_id

© tl;dr; authors and contributors