Commit c11769b7 authored by Karl's avatar Karl

Add cpu throttling item and trigger

parent 1a910a43
UserParameter=rpi.cpuClock,/opt/vc/bin/vcgencmd measure_clock arm|cut -d"=" -f2
UserParameter=rpi.cpuVoltage,/opt/vc/bin/vcgencmd measure_volts | tr -d "volt=" | tr -d "V"
UserParameter=rpi.cpuTemperature,cat /sys/class/thermal/thermal_zone*/temp
UserParameter=rpi.sdcardTotal,df -B1 | grep root | tr -s " " " " | cut -d " " -f 2
UserParameter=rpi.sdcardFree,df -B1 | grep root | tr -s " " " " | cut -d " " -f 4
UserParameter=rpi.sdcardUsed,df -B1 | grep root | tr -s " " " " | cut -d " " -f 3
UserParameter=rpi.sdcardUsedPercentage,df -B1 | grep root | tr -s " " " " | cut -d " " -f 5 | cut -d "%" -f 1
\ No newline at end of file
UserParameter=rpi.cpuThrottled,/opt/vc/bin/vcgencmd get_throttled|cut -d'=' -f2
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment