From ad20ab91c4a9f4c82ff7eb0daa6423bd0f8d2385 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 22 Jul 2006 11:12:48 +0000 Subject: Use cpuinfo_cur_freq instead if scaling_cur_freq git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@161 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- munin/munin-cpufreq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3