Trying to Track Down root Usage
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 --------------- -------------------- --------- --------- root root 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
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 <slurm-users@lists.schedmd.com> [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 --------------- -------------------- --------- --------- root root 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-leave@lists.schedmd.com
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 <juergen.salk@uni-ulm.de> 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 <slurm-users@lists.schedmd.com> [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 --------------- -------------------- --------- --------- root root 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-leave@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
participants (2)
-
Jason Simms -
Juergen Salk