Advertisement
Guest User

Untitled

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