Skip to content

Commit

Permalink
p/cpu_freq_1sec: fix the unit & the DS type
Browse files Browse the repository at this point in the history
  • Loading branch information
steveschnepp committed Dec 6, 2013
1 parent 61fe157 commit 48d3de6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/rpi/cpu_freq_1sec
Expand Up @@ -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
) &
Expand All @@ -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
Expand Down

0 comments on commit 48d3de6

Please sign in to comment.