Hi Nicholas,

Is there a period to which these records will be empty? I.e., does Slurm
do some kind of periodic polling so my usual test jobs (doing things sleep
5 or small dd or a short QM test job) might fall between the intervals ? I
was trying to use

SelectType=select/cons_res
SelectTypeParameters=CR_CPU_Memory
TaskPlugin=task/cgroup

JobacctGatherType=jobacct_gather/cgroup
JobAcctGatherFrequency=30


-- 
Grigory Shamov

Westgrid/ComputeCanada Site Lead
University of Manitoba
E2-588 EITC Building,
(204) 474-9625






On 2017-03-13, 10:15 AM, "Nicholas McCollum" <[email protected]> wrote:

>Hossein,
>
>Try:
>
>sacct -a --
>format=submit,start,partition,timeLimit,elapsed,TotalCPU,ReqMem,MaxRSS,
>AllocCPUS,job,state -X
>
>Note the -X flag.
>
>-X, --allocations:  Only show cumulative statistics for each job, not
>the intermediate steps.
>
>
>-- 
>Nicholas McCollum
>HPC Systems Administrator
>Alabama Supercomputer Authority
>
>On Mon, 2017-03-13 at 08:07 -0700, Hossein Pourreza wrote:
>> Hi,
>>  
>> I am trying to get some information from the SLURM accounting
>> database but I cannot get them in one line (please see below). For
>> example, the number of actual cores is one line but that line is
>> missing the MaxRSS field.
>>  
>> submit,start,partition,timeLimit,elapsed,TotalCPU,ReqMem,MaxRSS,Alloc
>> CPUS,job,state
>> 2017-02-01T15:30:12,2017-02-01T15:33:59,partition_name,1-
>> 12:00:00,00:19:50,00:00.056,2240Mc,,448,531531,CANCELLED
>> 2017-02-01T15:33:59,2017-02-
>> 01T15:33:59,,00:19:50,00:00.056,2240Mc,3684K,28,531531.batch,FAILED
>>  
>> Is there any way to combine them or I need to use another script to
>> do that? I also want to get one line if the job has multiple steps.
>>  
>> Thanks
>> Hossein

Reply via email to