Changed `cpuinfo' -> `scaling' in the manpage and another place in the plugin I had...
authorocto <octo>
Sat, 28 Jan 2006 08:33:32 +0000 (08:33 +0000)
committerocto <octo>
Sat, 28 Jan 2006 08:33:32 +0000 (08:33 +0000)
src/collectd.pod
src/cpufreq.c

index de944b4..09aa590 100644 (file)
@@ -350,7 +350,7 @@ on the other hand listens on B<all> interfaces.
 
 =head2 cpufreq
 
-This module reads F</sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq> (for
+This module reads F</sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq> (for
 the first CPU installed) to get the current CPU frequency. If this file does
 not exist make sure B<cpufreqd> (L<http://cpufreqd.sourceforge.net/>) or a
 similar tool is installed.
index 50bd771..22877b4 100644 (file)
@@ -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;