Ticket 10611 - expand new record fields "command" to sacct
Summary: expand new record fields "command" to sacct
Status: RESOLVED FIXED
Alias: None
Product: Slurm
Classification: Unclassified
Component: Accounting (show other tickets)
Version: 20.11.2
Hardware: Linux Linux
: C - Contributions
Assignee: Tim Wickberg
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2021-01-11 17:51 MST by zhangtao102019@126.com
Modified: 2024-01-04 12:13 MST (History)
1 user (show)

See Also:
Site: -Other-
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed: 21.08.0rc1
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments
Make sacct to enable print "command" fields (15.93 KB, application/mbox)
2021-01-11 17:51 MST, zhangtao102019@126.com
Details

Note You need to log in before you can comment on or make changes to this ticket.
Description zhangtao102019@126.com 2021-01-11 17:51:59 MST
Created attachment 17421 [details]
Make sacct to enable print "command"  fields

hi,
When i was in the operation and maintenance of slurm cluster, one requirement was to quickly get the job script path of one historical job.
But in the latest slurm version, I can't find the submit command through sacct。
I tried to add the "command" field for sacct. 

See the attachment for detail changes.

I'd like to confirm whether there are potential problems with this modification and whether it can be merged into the trunk.

Best Regards
Comment 1 Matt Hebert 2024-01-04 09:27:43 MST
Found this issue, and would like to give it a bump -- seems like a generally useful feature to have in sacct.
Comment 2 Tim Wickberg 2024-01-04 12:13:37 MST
Hey Matt -

The "submit_line" has been captured and stored in Slurm's accounting since 21.08.

- Tim