Code to report wynton usage by year

From DISI
Revision as of 19:52, 6 February 2025 by Frodo (talk | contribs) (asdf)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
select  sge_project,
        sge_owner, 
        sge_qname, 
        sge_granted_pe, 
        sge_slots, 
        round(sum ( gen_slot_hours)) as sum_slot_hours, 
        round(avg(gen_cpu_time_div_wallclock)::numeric,2) as avg_threadiness,
        count(*) 
from accounting 
where   gen_end_time >= '2024-01-01'
        and gen_end_time <= '2024-12-31'  
        and sge_qname not like '%gpu%' 
group by 1,2,3,4,5  
order by count desc ;