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

2024-08-14 Thread Josef Dvořáček via slurm-users
> I too would be interested in some lightweight scripts For lightweight stats I tend to use this excellent script: slurmacct. Author is member of this mailinglist too. (hi): https://github.com/OleHolmNielsen/Slurm_tools/blob/master/slurmacct/slurmacct Currently I am in process of writing promet

[slurm-users] Re: slumrestd 24.05.1: crashes when GET on /slurm/v0.0.41/nodes : unsorted double linked list corrupted

2024-08-01 Thread Josef Dvořáček via slurm-users
urm/commit/5b07b6bda407431215606b93e57d0a9b7f4c9b53 The same patch also applies to 0.0.40 and 0.0.42 On 24/07/2024 15:53:13, Josef Dvořáček via slurm-users wrote: Isn't this failure familiar to anyone? When I ask API endpoint "localhost:6820/slurm/v0.0.41/jobs", slurmrestd segrafults with un

[slurm-users] Re: slumrestd 24.05.1: crashes when GET on /slurm/v0.0.41/nodes : unsorted double linked list corrupted

2024-07-24 Thread Josef Dvořáček via slurm-users
Ok, answering myself.. It seems that endpoint /slurm/v0.0.39/jobs works well. Not sure why, but I'm ok to live with that, so perhaps it will help to someone too. cheers josef (this time via socket) WORKS OK: # curl -si --header X-SLURM-USER-NAME:root --header X-SLURM-USER-TOKEN:$SLURM_JWT --un

[slurm-users] slumrestd 24.05.1: crashes when GET on /slurm/v0.0.41/nodes : unsorted double linked list corrupted

2024-07-24 Thread Josef Dvořáček via slurm-users
Isn't this failure familiar to anyone? When I ask API endpoint "localhost:6820/slurm/v0.0.41/jobs", slurmrestd segrafults with unsorted double linked list corrupted. Anyone using this API endpoint without segfaulting? I do the get using curl: curl --header X-SLURM-USER-NAME:root --header X-SLU