[slurm-users] actual time of start (or finish) of a job
Davide DelVento
davide.quantum at gmail.com
Thu Feb 16 00:40:19 UTC 2023
Thanks, that's exactly it.
I naively assumed that the '-l" in sacct provided "everything" (given
how long and unwieldy it is, but I noticed now that it isn't).
Sorry for the noise!
On Wed, Feb 15, 2023 at 5:32 PM Joseph Francisco Guzman
<Joseph.F.Guzman at nau.edu> wrote:
>
> 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
>
More information about the slurm-users
mailing list