[slurm-users] How to get an estimate of job completion for planned maintenance?

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Tue Nov 9 13:41:42 UTC 2021


On 11/9/21 13:55, Marcus Wagner wrote:
> I have written a script, which loops through all runnning jobs to tell me, 
> when a job ends on a specific node. This can be also done for all nodes. 
> The output would be for the longest job e.g.:
> 
> ncm0430              -> 2021-12-04T15:48:35
> 
> Nonetheless, we also plan maintenances with reservations, we do not drain 
> the partitions.

The pestat script from 
https://github.com/OleHolmNielsen/Slurm_tools/blob/master/pestat also 
print job ending times on nodes:

$ pestat -E | sort -k 11

You can make all sorts of node selections with the other pestat options.

/Ole



More information about the slurm-users mailing list