[slurm-users] How many users are running jobs per day on average in slurm ?

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Thu Apr 2 12:21:18 UTC 2020


On 02-04-2020 14:16, Sudeep Narayan Banerjee wrote:
> Well I am looking for, How many users ran jobs on each day on an average 
> (day average) with at least one job running?

Exactly!  The NEXT_JOB_ID increases by 1 for every job submitted.
You may simply read and store this number every day at 00:00.  Put the 
numbers into an Excel spreadsheet.

As I said, you should look into proper Slurm accounting so that you can 
get answers to relevant questions.

/Ole

> On 02/04/20 5:34 pm, Ole Holm Nielsen wrote:
>> On 02-04-2020 13:27, Sudeep Narayan Banerjee wrote:
>>> any help in getting the right flags ?
>>
>> The question is not well-defined.  If you just want to know the JobID 
>> number in the cluster, you could run this command every day and watch 
>> the NEXT_JOB_ID increase:
>>
>> # scontrol show config | grep NEXT_JOB_ID
>> NEXT_JOB_ID             = 2377393
>>
>> Job accounting is probably what you are looking for.  You may take a 
>> look at my Slurm Wiki page 
>> https://wiki.fysik.dtu.dk/niflheim/Slurm_accounting




More information about the slurm-users mailing list