summaryrefslogtreecommitdiffstats
path: root/gold/mining/bin/ati_temper
diff options
context:
space:
mode:
authorroot <root@krebs>2011-08-25 18:29:59 +0200
committerroot <root@krebs>2011-08-25 18:29:59 +0200
commite8cb14522e1364ce9e871c3f06b63daa58479ca6 (patch)
tree46bf3de7ebd8e315dac34803819e68f454799459 /gold/mining/bin/ati_temper
parent62418a76181e8ea22332c34501b7a061c30e4a3b (diff)
parent561f37e4a24061bd70113ebc7951175e0d3e116f (diff)
Merge branch 'master' of github.com:/krebscode/painload
Conflicts: evan/satz-liste
Diffstat (limited to 'gold/mining/bin/ati_temper')
-rwxr-xr-xgold/mining/bin/ati_temper5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/mining/bin/ati_temper b/gold/mining/bin/ati_temper
new file mode 100755
index 00000000..283a6024
--- /dev/null
+++ b/gold/mining/bin/ati_temper
@@ -0,0 +1,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`"