We developed a script "showjob" which will obtain all interesting information from Slurm for jobs that are pending, running, or completed. You may try this tool:

https://github.com/OleHolmNielsen/Slurm_tools/blob/master/jobs/showjob

Best regards,
Ole

On 6/17/25 13:42, Davide DelVento via slurm-users wrote:
Yeah, that's an annoying thing which I have not understood why has been designed that way. The information is there and it can be queried, just with a different command and spitting it out in a different format. The syntax is

sacct -j  XXX

which gives you only some fields, or

sacct -o fields,you,want -j XXX

the (super long) list of possible fields (case insensitive) can be queried with

sacct -e

HTH

On Tue, Jun 17, 2025 at 4:45 AM Gestió Servidors via slurm-users <slurm- us...@lists.schedmd.com <mailto:slurm-users@lists.schedmd.com>> wrote:

    Hello,____

    __ __

    Is there any way to get all information (like submit script or submit
    node) from a job that is completed? Something like “scontrol show
    jobid=XXX” when job is “running” or “pending”. I need to inspect the
    submit script of a job but I only know job_id.____

--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com

Reply via email to