How to get CPU/GPU quotas for a project?
On Taurus, there is showquota
, which show something like:
CPU-Quotas as of 2024-02-14 10:52
Project Used(h) Quota(h) % Comment
zihforschung 0 41667 0.0
GPU-Quotas as of 2024-02-14 10:52
Project Used(h) Quota(h) % Comment
zihforschung 0 0 0.0 Limit reached (SOFT) *
* Job priority is minimal for this project
The compendium still mentions it but it doesn't exist on Barnard.
This issue is different from #561 because I am interested in CPU/GPU project quotas, not disk quotas.
On the old system, it seems showquota
was a custom script in /usr/local/bin/showquota
, which reads out /var/lib/zihacct/accounting
, which also does not exist on Barnard.
Is there any other way to query the project quota and used CPU/GPU hours, e.g., via sacct or sacctmgr or another custom script?