summaryrefslogtreecommitdiffstats
path: root/mining/user/bin/ati_temper
blob: 283a6024504641420591eccca1a17b152f842c78 (plain)
1
2
3
4
5
#displays:  CARD1TEMP CARD2TEMP CPUTEMP OUTSIDE
echo -n "`DISPLAY=:0 aticonfig --adapter=1 --od-gettemperature | grep Temperature | sed -n 's/.*Temperature - \([0-9.]*\) C/\1/;p'` " 
echo -n "`DISPLAY=:0 aticonfig --adapter=2 --od-gettemperature | grep Temperature | sed -n 's/.*Temperature - \([0-9.]*\) C/\1/;p'` " 
echo -n "`sensors | grep temp1 | sed -e 's/temp1: *+\([0-9.]*\).*/\1/'` "
echo "`temper`"