[slurm-users] How many users are running jobs per day on average in slurm ?
Peter Kjellström
cap at nsc.liu.se
Thu Apr 2 12:59:02 UTC 2020
Ok, this sacct command lists all jobs that were running on a single day:
DAY=2020-03-09
sacct -a -S${DAY}T00:00:00 -E${DAY}T23:59:59 -X -o user --state=running -n
Total number of jobs active that day:
| wc -l
Total number of unique users:
| sort -u | wc -l
/Peter
On Thu, 2 Apr 2020 18:01:15 +0530
Sudeep Narayan Banerjee <snbanerjee at iitgn.ac.in> wrote:
> Dear Peter: I am trying with *sacct* and multiple flags.. but am not
> getting the desired output as per the query...
>
> Thanks & Regards,
> Sudeep Narayan Banerjee
>
> On 02/04/20 5:23 pm, Peter Kjellström wrote:
> > On Thu, 2 Apr 2020 16:57:46 +0530
> > Sudeep Narayan Banerjee <snbanerjee at iitgn.ac.in> wrote:
> >
> >> any help in getting the right flags ?
> > You may need to clarify that question a bit...
> >
> > How many users ran jobs on each day? (weekly, monthly average?)
> >
> > How many jobs/per day did each user run? (weekly, monthly average?)
> >
> > And what counts as job activity for a day? Started a job that day?
> > completed a job? Had at least one job running?
> >
> > /Peter
More information about the slurm-users
mailing list