Created
September 29, 2018 13:21
-
-
Save r7vme/d69dccb0193aeb3d13b3558fd432c45a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
# Show temperature in Jetson TX1 board | |
for i in $(ls -d /sys/class/thermal/thermal_zone*); do | |
m=`cat $i/type` | |
t=`cat $i/temp` | |
echo $m $(($t / 1000)) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment