[slurm-users] Re: SLURM Telegraf Plugin

2024-09-24 Thread Oren Shani via slurm-users
Hi Pablo, I did something similar a while back and my problem was that probing the slurm api too often was causing problems for slurm. Didn't you encounter a similar problem? Please let me know Thanks Oren On Tue, Sep 24, 2024 at 4:50 PM Pablo Collado Soto via slurm-users < slurm-users@lists.

[slurm-users] What is "eligible time"

2024-03-03 Thread Oren Shani via slurm-users
Hi All, Can someone shed some light on the exact meaning of the "eligible time" attribute in the slurm accounter, or to be more exact on the time between when the jobs becomes "eligible" to the time it actually starts to run? I understand that "eligible time" refers to the time in which the job be

Re: [slurm-users] Time spent in PENDING/Priority

2023-12-09 Thread Oren Shani
Hi Chip, As others already answered, there is no full solution for this problem, because SLURM does not record the breakdown of the wait time into the various states and causes of waiting. As far as I know, the best thing you can do is to consider just StartTime - EligableTime as the actual wait t

Re: [slurm-users] REST-based CLI tools out there somewhere?

2023-11-11 Thread Oren Shani
Hi Chip Pyslurm is a python library that enables interfacing with slurm from within a python script. I played around with and older version that implemened only srun/sbatch but it looks like the new version also covers the other s* commands take a look at the API

Re: [slurm-users] No coffee allowed on BYU campus(!) Suggestions for alternatives?

2023-07-04 Thread Oren Shani
Hahaha, there is no decent coffee in the United States anyway. If you can get some (I'm not sure it is sold there), canned coffee is a decent substitute. Other than that, Coca Cola has lots of caffeine in it, and I am sure there are vending machines on campus (ok, maybe Pepsi, but as far as caffei

[slurm-users] slurmrestd does not show GrpTRESMins billing association

2022-07-19 Thread Oren Shani
Hi All, I am trying to get the equivalent of this line from *scontrol show association *via slurmrestd: GrpTRESMins=cpu=N(58),mem=N(178688),energy=N(0),node=N(29), *billing=7(58),* fs/disk=N(0),vmem=N(0),pages=N(0),gres/gpu=N(0),license/interactive=N(0) But while cpu and mem are shown in bot

[slurm-users] Slurm API security best practices

2022-06-01 Thread Oren Shani
Hi All, I am making some first steps in putting the Slurm API to use in our clusters (at the CS and Engineering school of the Hebrew University in Jerusalem), and at this point I am looking at "read only" applications. For example, using Telegraf to read Cluster usage data into an SQL database (Po