Last active
September 27, 2017 14:23
-
-
Save dingzeyuli/575a1e2f5b1cbaa6abb53142e520612f to your computer and use it in GitHub Desktop.
get all the core temperature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /sys/devices/platform/coretemp.?/hwmon*/hwmon*/temp*_input | |
cat /sys/devices/platform/coretemp.?/hwmon*/hwmon*/temp*_input | awk '{ total += $1 } END { print total/NR/1000 }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment