Skip to content

Instantly share code, notes, and snippets.

@lucsmall
Created September 21, 2012 04:20
Show Gist options
  • Save lucsmall/3759702 to your computer and use it in GitHub Desktop.
Save lucsmall/3759702 to your computer and use it in GitHub Desktop.
Commands to measure Raspberry Pi temperature and CPU scaling frequency
# Measure current temp
/opt/vc/bin/vcgencmd measure_temp
# Read CPU scaling frequency
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment