summaryrefslogtreecommitdiff
path: root/munin/munin-cpufreq
diff options
context:
space:
mode:
Diffstat (limited to 'munin/munin-cpufreq')
-rwxr-xr-xmunin/munin-cpufreq2
1 files changed, 1 insertions, 1 deletions
diff --git a/munin/munin-cpufreq b/munin/munin-cpufreq
index bd6269b..dd40663 100755
--- a/munin/munin-cpufreq
+++ b/munin/munin-cpufreq
@@ -55,7 +55,7 @@ def report
sleep(5) # we are interested how it does without us poking it,
# so maybe sleeping a bit will help
m.each do |m|
- value = IO.read("/sys/devices/system/cpu/cpu#{m['cpunum']}/cpufreq/scaling_cur_freq").to_i
+ value = IO.read("/sys/devices/system/cpu/cpu#{m['cpunum']}/cpufreq/cpuinfo_cur_freq").to_i
puts "#{m['fieldname']}.value #{value}"
end
end