Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- while true ; do
- echo -n "CPU freq: " ; echo -n $((`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq`/1000))
- echo -n " CPU: " ; echo -n $((<code>cat /sys/class/thermal/thermal_zone0/temp</code>/1000))
- echo -n " GPU: " ; /opt/vc/bin/vcgencmd measure_temp|cut -c6-9
- sleep 1
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement