[slurm-users] SLURM's reservations
    Daniel Grimwood 
    daniel.grimwood at pawsey.org.au
       
    Mon Apr 16 20:51:41 MDT 2018
    
    
  
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-bounces at 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 at 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
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180417/49063266/attachment-0001.html>
    
    
More information about the slurm-users
mailing list