2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

p/cpu_freq_1sec: fix the unit & the DS type

This commit is contained in:
Steve Schnepp 2013-12-06 21:09:24 +01:00
parent 61fe1573cb
commit 48d3de6056

View File

@ -23,7 +23,7 @@ then
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
)
done | awk "{
print \"scaling_cur_freq.value \" \$1 \":\" \$2;
print \"scaling_cur_freq.value \" \$1 \":\" (\$2 * 1000);
system(\"\");
}" >> $cache
) &
@ -41,7 +41,7 @@ graph_data_size custom 1d, 10s for 1w, 1m for 1t, 5m for 1y
graph_vlabel Hz
update_rate 1
scaling_cur_freq.label Current CPU Scaling Frequence
scaling_cur_freq.type DERIVE
scaling_cur_freq.type GAUGE
EOF
exit 0
fi