[slurm-users] Manually initiating a DB purge

2024-08-21 Thread Sid Young via slurm-users
G'Day all, I have 3 years worth of job records in the slurm DB and we do not have any need to actually track anything at this stage, I would like to keep 12months worth of jobs so I need to purge 2 years worth at some point.. Is there a command to issue via scontrol to kick off a SlurmPurge using

[slurm-users] Re: Print Slurm Stats on Login

2024-08-21 Thread Davide DelVento via slurm-users
Hi Ole, On Wed, Aug 21, 2024 at 1:06 PM Ole Holm Nielsen via slurm-users < slurm-users@lists.schedmd.com> wrote: > The slurmacct script can actually break down statistics by partition, > which I guess is what you're asking for? The usage of the command is: > Yes, this is almost what I was askin

[slurm-users] Re: Print Slurm Stats on Login

2024-08-21 Thread Ole Holm Nielsen via slurm-users
Hi Davide, Thanks, I appreciate your positive feedback! Some comments are below: On 21-08-2024 15:07, Davide DelVento wrote: Thanks, Ole! Your tools and what you do for the community is fantastic, we all appreciate you! Of course, I did look (and use) your script. But I need more info. And

[slurm-users] Re: Print Slurm Stats on Login

2024-08-21 Thread Davide DelVento via slurm-users
Thanks, Ole! Your tools and what you do for the community is fantastic, we all appreciate you! Of course, I did look (and use) your script. But I need more info. And no, this is not something that users would run *ever* (let alone at every login). This is something I *myself* (the cluster adminis

[slurm-users] Re: Print Slurm Stats on Login

2024-08-21 Thread Patryk Bełzak via slurm-users
Hi, what Ole wrote is exactly what crossed my mind. I had an episode with stats at login too, I put reportseff to motd script and it was a bad idea. It turned out that if for any reason slurm controler took longer time to respond, it delayed user login which annoyed them more than they apprecia