[slurm-users] Show job command after completion with sacct

Jacob Chappell jacob.chappell at uky.edu
Sun Dec 10 18:35:24 MST 2017


Thank you both for the information, and thanks for the prolog tip. I hadn't
thought of that.

__________________________________________________
*Jacob D. Chappell*
*Research Computing Associate*
Research Computing | Research Computing Infrastructure
Information Technology Services | University of Kentucky
301 Rose Street | 102 James F. Hardymon Building
Lexington, KY 40506-0495
jacob.chappell at uky.edu

Visit us: www.uky.edu/ITS
How are we doing? Send Feedback to ITSaboutYou at uky.edu
ITS . . . it’s about technology. ITS . . . it’s about innovation.  ITS . .
. it’s about you!

On Sun, Dec 10, 2017 at 7:53 PM, Marcin Stolarek <stolarek.marcin at gmail.com>
wrote:

> You can use slurmctl prologue to save it the way you want.
>
> cheers,
> Marcin
>
>
>
> 2017-11-30 0:25 GMT+01:00 Chris Samuel <chris at csamuel.org>:
>
>> On 30/11/17 8:57 am, Jacob Chappell wrote:
>>
>> Using "scontrol show jobid X" I can see info about running jobs,
>>> including the command used to launch the job, the user's working directory,
>>> values of stdout, stdin, stderr, etc.
>>>
>>
>> Note that the announcement for 17.11.0 mentions that the job script
>> will no longer appear in "scontrol show job", it's been moved to
>> scontrol write batch_file $FILE (don't know if that means you can
>> write it to stdout any more).
>>
>> With Slurm accounting configured, sacct seems to show *some* of this
>>> information about jobs that have completed. However, I don't seem to see
>>> the "Command" or "WorkDir" field in sacct. Is it possible to record this
>>> information also for jobs that have completed?
>>>
>>
>> I don't believe that is recorded in the database, you'd need
>> to request that as a feature request from SchedMD.
>>
>> Best of luck!
>> Chris
>> --
>>  Chris Samuel  :  http://www.csamuel.org/
>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.csamuel.org%2F&data=02%7C01%7Cjacob.chappell%40uky.edu%7C8d89fcb09fd44ca7fa0f08d540319edf%7C2b30530b69b64457b818481cb53d42ae%7C0%7C0%7C636485504220952779&sdata=xflGQsxydBTdVFZowEotTx5mOzgnDdlAFut8Qlmho4c%3D&reserved=0>
>> :  Melbourne, VIC
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20171210/111bc327/attachment.html>


More information about the slurm-users mailing list