[slurm-users] Slurm REST API association usage
Pierre Gay
pierre.gay at u-bordeaux.fr
Thu Mar 30 11:04:18 UTC 2023
Hello,
I'm trying to get association usage info from Slurm REST server with the
endpoint: /slurmdb/v0.0.37/associations
For every association, I get: "usage": null
The OpenAPI schema tells that I should get something like:
> "usage": {
> "accrue_job_count": 0,
> "group_used_wallclock": 0,
> "fairshare_factor": 0,
> "fairshare_shares": 0,
> "normalized_priority": 0,
> "normalized_shares": 0,
> "effective_normalized_usage": 0,
> "raw_usage": 0,
> "job_count": 0,
> "fairshare_level": 0
> },
While using sshare, I have something like:
> Account User RawShares NormShares RawUsage
> EffectvUsage FairShare
> -------------------- ---------- ---------- ----------- -----------
> ------------- ----------
> root 1.000000 54374620
> 0.000000 1.000000
> root root 0 0.000000 0
> 0.000000 0.000000
> account1 parent 1.000000 11296820
> 0.207755 0.985703
> account1 user1 1 0.111111 0
> 0.000000 1.000000
> account1 user2 1 0.111111 11296820
> 0.207759 0.878441
> ...
Can you tell me what's wrong?
Thanks in advance,
Pierre
--
MCIA
bureau 232 bâtiment A33
351, cours de la Libération
33405 Talence
More information about the slurm-users
mailing list