Sha256: 9180dcbda4cf8691859664193a2e00e8b307297c0b0922aa8671a8584a6545b5
Contents?: true
Size: 417 Bytes
Versions: 6
Compression:
Stored size: 417 Bytes
Contents
#!/usr/bin/env ruby require 'cpu' if t_j_max = ENV['t_j_max'] CPU.t_j_max = t_j_max.to_i end case ARGV.shift when 'config' puts <<EOT graph_title CPU Core temperatures graph_args --base 1000 -l 0 graph_vtitle Celsius graph_category sensors EOT for c in CPU.cores puts "core#{c.core_id}.label Core #{c.core_id}" end else for c in CPU.cores puts "core#{c.core_id}.value #{c.temperature}" end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
cpu-0.0.6 | munin/coretemp |
cpu-0.0.4 | munin/coretemp |
cpu-0.0.3 | munin/coretemp |
cpu-0.0.2 | munin/coretemp |
cpu-0.0.1 | munin/coretemp |
cpu-0.0.0 | munin/coretemp |