[slurm-users] Calculating total elapsed time of all jobs, per user, per month, for a given partition?

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Tue Dec 19 00:50:25 MST 2017


On 12/18/2017 05:45 PM, Mark London wrote:
> Hi - Unfortunately, that script outputs statistics for a cluster. We 
> need statistics for s specific partition. - Mark

I see.  Unfortunately, the sreport command currently (17.02.9) is unable 
to select a partition when printing a cluster report.  A job report can 
be printed by sreport selecting a partition list.

/Ole

> On 12/18/2017 2:21 AM, Ole Holm Nielsen wrote:
>> We generate monthly Slurm reports using this script:
>> https://github.com/OleHolmNielsen/Slurm_tools/tree/master/slurmreportmonth 
>>
>>
>> If you miss something from the output, you're welcome to send me 
>> suggestions.
>>
>> /Ole
>>
>> On 12/18/2017 06:09 AM, Mark London wrote:
>>> Hi - For a given partition, how can I generate a monthly output of 
>>> total elapsed time, of all the jobs, run by each user?
>>>
>>> I.e., I'm looking for a script similar to that found in slurm-stats:
>>>
>>> https://github.com/CSCfi/slurm-stats
>>>
>>> However, that script doesn't compute total times.  Instead, it 
>>> outputsminimum, mean, maximum and standard deviation statistic.
>>>
>>> The script is written in R, which I'm not familiar with, so I don't 
>>> know how to modify it to output what I want.
>>>
>>> Perhaps there's a more easier way for me to obtain the information, 
>>> without using such a script?
>>>
>>> Thanks very much.
>>>
>>> Mark London
>>> mrl at psfc.mit.edu



More information about the slurm-users mailing list