[slurm-users] Can I get the original sbatch command, after the fact?

Brian Andrus toomuchit at gmail.com
Sat Jul 17 19:29:50 UTC 2021


It is possible to store the script sent off to run, however, if your 
script is using arguments, you can only get those from the 'scontrol 
show job <jobid>' while it is still in the list.

You can capture both in a PrologSlurmctld script.

Brian Andrus

On 7/16/2021 11:16 AM, David Henkemeyer wrote:
> If I execute a bunch of sbatch commands, can I use sacct (or something 
> else) to show me the original sbatch command line for a given job ID?
>
> Thanks
> David



More information about the slurm-users mailing list