From 89ed90ed396988e4c37533877e1c7b936fbd4678 Mon Sep 17 00:00:00 2001 From: Juraj Hercek Date: Sat, 16 Feb 2008 17:06:50 +0100 Subject: Adjusted filter used for digging out information from /sys directory - As of 2.4.24 kernel you might experience same frequency for all cores, because cpufreq directory is a link for cores 1 and higher darcs-hash:20080216160650-f49a6-455bdfa46154350d723759d7175629892b284e0e.gz --- Plugins/Monitors/CpuFreq.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Plugins/Monitors/CpuFreq.hs') diff --git a/Plugins/Monitors/CpuFreq.hs b/Plugins/Monitors/CpuFreq.hs index 0bd99bb..45b0c83 100644 --- a/Plugins/Monitors/CpuFreq.hs +++ b/Plugins/Monitors/CpuFreq.hs @@ -23,8 +23,8 @@ import Plugins.Monitors.CoreCommon -- cpu frequencies. cpuFreqConfig :: IO MConfig cpuFreqConfig = mkMConfig - "Freq: GHz" -- template - (zipWith (++) (repeat "core") (map show [0 :: Int ..])) -- available + "Freq: GHz" -- template + (zipWith (++) (repeat "cpu") (map show [0 :: Int ..])) -- available -- replacements -- | -- cgit v1.2.3