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.guz...@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.guz...@nau.edu > > ________________________________ > From: slurm-users <slurm-users-boun...@lists.schedmd.com> on behalf of Davide > DelVento <davide.quan...@gmail.com> > Sent: Wednesday, February 15, 2023 5:18 PM > To: slurm-us...@schedmd.com <slurm-us...@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 >