[slurm-users] Trying to Track Down root Usage

2024-04-29 Thread Jason Simms via slurm-users
Hello all,

Each week, I generate an automated report of the top users by CPU hours.
This week, for whatever reason the user root accounted for a massive number
of hours:


Login   Proper Name   Used   Account
---  - -
rootroot 28224  root

I've tried to generate a report on what might account for this, but so
far I'm stumped. For example, when I run a typical report:

sacct -o jobid,jobname,start,end,NNodes,NCPUS,ReqMem,CPUTime,AveRSS,MaxRSS
-S 2024-04-22 -E 2024-04-29 --user=root --units=G

Nothing comes up (same if I change --user=root to --account=root).

I'd appreciate any thoughts as to how to investigate or understand
this. It may well be that I'm missing something fundamental.

Warmest regards,
Jason


-- 
*Jason L. Simms, Ph.D., M.P.H.*
Manager of Research Computing
Swarthmore College
Information Technology Services
(610) 328-8102
Schedule a meeting: https://calendly.com/jlsimms

-- 
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com


[slurm-users] Re: Trying to Track Down root Usage

2024-04-29 Thread Juergen Salk via slurm-users
Hi Jason,

do or did you maybe have a reservation for user root in place? 

sreport accounts resources reserved for a user as well (even if not 
used by jobs) while sacct reports job accounting only.

Best regards
Jürgen


* Jason Simms via slurm-users  [240429 10:47]:
> Hello all,
> 
> Each week, I generate an automated report of the top users by CPU hours.
> This week, for whatever reason the user root accounted for a massive number
> of hours:
> 
> 
> Login   Proper Name   Used   Account
> ---  - -
> rootroot 28224  root
> 
> I've tried to generate a report on what might account for this, but so
> far I'm stumped. For example, when I run a typical report:
> 
> sacct -o jobid,jobname,start,end,NNodes,NCPUS,ReqMem,CPUTime,AveRSS,MaxRSS
> -S 2024-04-22 -E 2024-04-29 --user=root --units=G
> 
> Nothing comes up (same if I change --user=root to --account=root).
> 
> I'd appreciate any thoughts as to how to investigate or understand
> this. It may well be that I'm missing something fundamental.
> 
> Warmest regards,
> Jason
> 
> 
> -- 
> *Jason L. Simms, Ph.D., M.P.H.*
> Manager of Research Computing
> Swarthmore College
> Information Technology Services
> (610) 328-8102
> Schedule a meeting: https://calendly.com/jlsimms

> 
> -- 
> slurm-users mailing list -- slurm-users@lists.schedmd.com
> To unsubscribe send an email to slurm-users-le...@lists.schedmd.com


smime.p7s
Description: S/MIME cryptographic signature

-- 
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com


[slurm-users] Re: Trying to Track Down root Usage

2024-04-29 Thread Jason Simms via slurm-users
Thanks, Juergen. I think you've solved it in one. I do have a root
reservation on some nodes and was unaware that it would report that as CPU
hour usage. Thanks!

Jason

On Mon, Apr 29, 2024 at 11:48 AM Juergen Salk 
wrote:

> Hi Jason,
>
> do or did you maybe have a reservation for user root in place?
>
> sreport accounts resources reserved for a user as well (even if not
> used by jobs) while sacct reports job accounting only.
>
> Best regards
> Jürgen
>
>
> * Jason Simms via slurm-users  [240429
> 10:47]:
> > Hello all,
> >
> > Each week, I generate an automated report of the top users by CPU hours.
> > This week, for whatever reason the user root accounted for a massive
> number
> > of hours:
> >
> > 
> > Login   Proper Name   Used
>  Account
> > ---  - -
> > rootroot 28224
> root
> >
> > I've tried to generate a report on what might account for this, but so
> > far I'm stumped. For example, when I run a typical report:
> >
> > sacct -o
> jobid,jobname,start,end,NNodes,NCPUS,ReqMem,CPUTime,AveRSS,MaxRSS
> > -S 2024-04-22 -E 2024-04-29 --user=root --units=G
> >
> > Nothing comes up (same if I change --user=root to --account=root).
> >
> > I'd appreciate any thoughts as to how to investigate or understand
> > this. It may well be that I'm missing something fundamental.
> >
> > Warmest regards,
> > Jason
> >
> >
> > --
> > *Jason L. Simms, Ph.D., M.P.H.*
> > Manager of Research Computing
> > Swarthmore College
> > Information Technology Services
> > (610) 328-8102
> > Schedule a meeting: https://calendly.com/jlsimms
>
> >
> > --
> > slurm-users mailing list -- slurm-users@lists.schedmd.com
> > To unsubscribe send an email to slurm-users-le...@lists.schedmd.com
>


-- 
*Jason L. Simms, Ph.D., M.P.H.*
Manager of Research Computing
Swarthmore College
Information Technology Services
(610) 328-8102
Schedule a meeting: https://calendly.com/jlsimms

-- 
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-le...@lists.schedmd.com