If accounting is setup the state/requests of the steps should be saved, e.g.
# sacct --job 12345678 -o JobID,User,WCKey,JobName,ReqMem,Timelimit,MaxRSS,State,ExitCode JobID User WCKey JobName ReqMem Timelimit MaxRSS State ExitCode ------------ --------- ---------- ---------- ---------- ---------- ---------- ---------- -------- 12345678 xxxxxxxxx *abc1234 sbatch 2Gn 00:15:00 RUNNING 0:0 12345678.ba+ batch 2Gn 7052K COMPLETED 0:0 12345678.0 sleep 2Gn 916K COMPLETED 0:0 12345678.1 sleep 2Gn 924K COMPLETED 0:0 12345678.2 false 2Gn 928K FAILED 1:0 12345678.3 sleep 2Gn 920K COMPLETED 0:0 12345678.4 true 2Gn 920K COMPLETED 0:0 12345678.5 sleep 2Gn 1988K COMPLETED 0:0 12345678.6 sleep 2Gn RUNNING 0:0 This doesn't show pending steps as they wouldn't have reported anything back to the accounting system. The job from slurmctld (scontrol) should be cleaned out after the MinJobAge / MaxJobCount has been reached in the slurm configuration. Chris. From: slurm-users [mailto:slurm-users-boun...@lists.schedmd.com] On Behalf Of Roger Moye Sent: 01 May 2018 23:41 To: slurm-...@schedmd.com Subject: [slurm-users] How to get information about job steps Is there a way to retrieve job step information similar to "scontrol show job"? What I want to be able to do is see all job steps associated with a particular job, whether the step pending, running. or finished. It seems that job step information is only available as long as the step is running or pending. Once it is finished, the information disappears. Is there a way to see all job steps associated with a job regardless of the state of the step? Thanks so much! -Roger Moye [cid:image001.png@01D22319.C7D5D540] Roger Moye HPC Engineer 713.425.6236 Office 713.376.2540 Mobile QUANTLAB Financial, LLC 3 Greenway Plaza Suite 200 Houston, Texas 77046 www.quantlab.com<https://www.quantlab.com/> ----------------------------------------------------------------------------------- The information in this communication and any attachment is confidential and intended solely for the attention and use of the named addressee(s). All information and opinions expressed herein are subject to change without notice. This communication is not to be construed as an offer to sell or the solicitation of an offer to buy any security. Any such offer or solicitation can only be made by means of the delivery of a confidential private offering memorandum (which should be carefully reviewed for a complete description of investment strategies and risks). Any reliance one may place on the accuracy or validity of this information is at their own risk. Past performance is not necessarily indicative of the future results of an investment. All figures are estimated and unaudited unless otherwise noted. If you are not the intended recipient, or a person responsible for delivering this to the intended recipient, you are not authorized to and must not disclose, copy, distribute, or retain this message or any part of it. In this case, please notify the sender immediately at 713-333-5440