[slurm-users] actual time of start (or finish) of a job
Joseph Francisco Guzman
Joseph.F.Guzman at nau.edu
Thu Feb 16 00:30:06 UTC 2023
Hi Davide,
I would use the Start and End fields with the sacct command. Something like this: "sacct -j jobid1,jobid2 -X -P -o jobid,start,end".
Were you able to take a look at the sacct manual page outlines what all of the different fields mean? Here's a link to the web version: https://slurm.schedmd.com/sacct.html.
Best,
Joseph
--------------------------------------------------------------
Joseph F. Guzman - ITS (Advanced Research Computing)
Northern Arizona University
Joseph.F.Guzman at nau.edu
________________________________
From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Davide DelVento <davide.quantum at gmail.com>
Sent: Wednesday, February 15, 2023 5:18 PM
To: slurm-users at schedmd.com <slurm-users at schedmd.com>
Subject: [slurm-users] actual time of start (or finish) of a job
I have a user who needs to find the actual start (or finish) time of a
number of jobs.
With the elapsed field of sacct start or finish become equivalent for
his search.
I see that information in /var/log/slurm/slurmctld.log so Slurm should
have it, however in sacct itself that information does not seem to
exist, and with all the queries we tried Google always thinks we are
looking for something else and never returns an actual answer.
If this was a one-off I could do it for him, but he needs to script it
for his reasons and I don't want to run his script as root nor give
him access to the log files forever.
Is there a way to find this information?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20230216/8888d4db/attachment-0001.htm>
More information about the slurm-users
mailing list