Hello Daniel,

Thank you for your information.
That’s very helpful.

Regards,
Jean-Claude


From: slurm-users <slurm-users-boun...@lists.schedmd.com> on behalf of Daniel 
Grimwood <daniel.grimw...@pawsey.org.au>
Reply-To: Slurm User Community List <slurm-users@lists.schedmd.com>
Date: Tuesday, 17 April 2018 at 05:10
To: 'Slurm User Community List' <slurm-users@lists.schedmd.com>
Subject: Re: [slurm-users] SLURM's reservations

Hi Jean-Claude,

Within an ugly Perl script (since dictionaries are easy in Perl), I run:
sreport -n -p -M \"$cluster\" reservation Utilization start=$startdate 
end=$enddate -t hours 
Format=Name,ReservationID,Associations,TotalTime,Nodes,Allocated,Start,End

and then
sacct -n -a -M \"$cluster\" -S $startdate -E $enddate -p 
--format=jobid,user,CPUTimeRaw,AssocID,ReservationID -X -T

and then match up the ReservationID numbers, to see to what extent the 
reservations actually get used.

With regards,
Daniel.


From: slurm-users [mailto:slurm-users-boun...@lists.schedmd.com] On Behalf Of 
De Giorgi Jean-Claude
Sent: Monday, 16 April 2018 10:52 PM
To: Slurm User Community List <slurm-users@lists.schedmd.com>
Subject: Re: [slurm-users] SLURM's reservations

Here it is,

The command line to get the previous reservation is:
sreport reservation utilization start=2018-02-10T10:00:00

According to the man page, I should get these headers:
Allocated, Associations, Cluster, Count, CPUTime, End, Flags, Idle, Name, 
Nodes, ReservationId, Start, TotalTime
But I get only these ones:
Cluster      Name               Start                 End            Allocated  
               Idle

I try to put a “verbose” somewhere (or a “-v” ), but it doesn’t change anything.

My SLURM version is 17.02.7  .

If anyone has more usage examples/explanations, very welcome.




Regards,
Jean-Claude


Reply via email to