You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
272 B

cpu=$(</sys/class/thermal/thermal_zone0/temp)
vccmd=$(which vcgencmd)
gpu=$(${vccmd} measure_temp)
gpu=$(echo "${gpu}"| sed 's|temp\=||g')
echo "$(date) @ $(hostname)"
echo "-------------------------------------------"
echo "GPU => ${gpu}"
echo "CPU => $((cpu/1000))'C"