Skip to content

Instantly share code, notes, and snippets.

@MarshalW
Last active December 24, 2020 09:11
Show Gist options
  • Save MarshalW/20b748ab211b6b1ce1f2454ad7dc5739 to your computer and use it in GitHub Desktop.
Save MarshalW/20b748ab211b6b1ce1f2454ad7dc5739 to your computer and use it in GitHub Desktop.
在 Raspbian 监控 cpu温度

在 Raspbian 监控 cpu温度

命令行:

watch 'head -n 1 /sys/class/thermal/thermal_zone0/temp | xargs -I{} awk "BEGIN {printf \"%.2f\n\", {}/1000}"'

或者:

watch vcgencmd measure_temp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment