[slurm-users] How to get command from a finished job

Bjørn-Helge Mevik b.h.mevik at usit.uio.no
Thu Apr 30 13:34:47 UTC 2020


Gestió Servidors <sysadmin.caos at uab.cat> writes:

> For example, with "scontrol show jobid" I can know what command has
> been submited, its workir, the stderr file and the stdout one. This
> information, I think, cannot be obtained when the job is finished and
> I run "sacct".

The workdir is available with sacct, IIRC.  For other types of
information, I believe you can add code to your job_submit.lua that stores
it in the job's AdminComment field, which sacct can display.

-- 
Regards,
Bjørn-Helge Mevik, dr. scient,
Department for Research Computing, University of Oslo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20200430/6b7a7903/attachment.sig>


More information about the slurm-users mailing list