Re: [slurm-users] Getting usage reporting from sacct/sreport

2023-03-26 Thread Juergen Salk
Hi Thomas, I think sreport should actually do what you want out of the box if you have permissions to retrieve that information for other users than yourself. In my understanding, sacct is meant for individual job and job step accounting while sreport is more suitable for aggregated cluster usa

Re: [slurm-users] Getting usage reporting from sacct/sreport

2023-03-26 Thread Mike Mikailov
Hi Thomas et al, I have just written a Linux shell script which does exactly what you are asking for. Please use “—allocations” option in sacct command to generate aggregated resources usage per user. You may also use awk Linux command to summarize all CPU usages. More advanced awk command m

[slurm-users] Getting usage reporting from sacct/sreport

2023-03-25 Thread Thomas Arildsen
I am experimenting with getting information from a Slurm cluster on how many resources each user has been consuming. I would like to get accumulated amount of CPU and GPU time over specified periods. GPU resources reported by type of GPU would be extra helpful. I am currently looking at sacct where