From: octo Date: Sat, 28 Jan 2006 08:33:32 +0000 (+0000) Subject: Changed `cpuinfo' -> `scaling' in the manpage and another place in the plugin I had... X-Git-Tag: collectd-3.7.0~22 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bb458cd29afa10a63385efe6168dcc95d039612e;p=collectd.git Changed `cpuinfo' -> `scaling' in the manpage and another place in the plugin I had missed.. --- diff --git a/src/collectd.pod b/src/collectd.pod index de944b49..09aa5906 100644 --- a/src/collectd.pod +++ b/src/collectd.pod @@ -350,7 +350,7 @@ on the other hand listens on B interfaces. =head2 cpufreq -This module reads F (for +This module reads F (for the first CPU installed) to get the current CPU frequency. If this file does not exist make sure B (L) or a similar tool is installed. diff --git a/src/cpufreq.c b/src/cpufreq.c index 50bd771f..22877b4d 100644 --- a/src/cpufreq.c +++ b/src/cpufreq.c @@ -57,7 +57,7 @@ static void cpufreq_init (void) while (1) { - status = snprintf (filename, BUFSIZE, "/sys/devices/system/cpu/cpu%d/cpufreq/cpuinfo_cur_freq", num_cpu); + status = snprintf (filename, BUFSIZE, "/sys/devices/system/cpu/cpu%d/cpufreq/scaling_cur_freq", num_cpu); if (status < 1 || status >= BUFSIZE) break;