mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 02:18:08 +00:00
p/cpu_freq_1sec: fix the unit & the DS type
This commit is contained in:
parent
61fe1573cb
commit
48d3de6056
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue