lstoll/psudata

Utility to track power/charging consumption on macs

★ 0Forks 0GoGitHub ↗Compare

README

psudata

EG Queries

Percentiles

with p as (select volts*amps as watts, ntile(20) over (order by volts*amps) AS percentile
           FROM pdu_timeseries)
select percentile, max(watts) as watts
from p
where percentile >= 15
group by percentile;

Contributors

lstoll-sfdc

Issues