13

One idea I have to find out how long my slurm job is taking is to use

squeue --job <myid>

How do I find out how long my job took to complete though once the job is complete?

sligocki
  • 849
  • 1
  • 9
  • 11
demongolem
  • 567
  • 4
  • 10
  • 25
  • I cannot actually create a slurm tag because my rep is not high enough, but is how I would have tagged it had I the ability to – demongolem Nov 02 '14 at 00:22

2 Answers2

16

Use the sacct command:

sacct -l -j <myid>

and look for the 'elapsed' column

damienfrancois
  • 296
  • 3
  • 4
7
sacct -j <myid> --format=Elapsed

is a very succinct way to show this (Thanks to Sparhawk & damienfrancois for these suggestions, I thought I'd suggest this as a full answer).

sligocki
  • 849
  • 1
  • 9
  • 11