scontrol:tldr:dc6a7
scontrol: Show information for job.
$ scontrol show job ${job_id}
try on your machine
The command "scontrol show job ${job_id}" is used to retrieve and display information about a specific job in a cluster managed by the Slurm workload manager.
Here's how the command works:
- "scontrol" is the command-line utility for managing and inspecting the Slurm job scheduler and its components.
- "show" is the command option that specifies the action to display or retrieve information about a job.
- "job" is the entity type keyword that tells Slurm that we are referring to a job.
- "${job_id}" is a placeholder for the actual job ID you want to get information about. You need to replace "${job_id}" with the numeric ID of the job you want to examine.
When you run this command with the appropriate job ID, it will query the Slurm controller and retrieve detailed information about the specified job. The output will include various attributes related to the job, such as its state, submission time, node allocation, duration, and other job-specific settings and parameters.
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.