summaryrefslogtreecommitdiffstats
path: root/mining/bin/ati_temper
diff options
context:
space:
mode:
authortv <tv@also>2011-08-06 03:09:28 +0200
committertv <tv@also>2011-08-06 03:09:28 +0200
commit0927b22ba003db142534e5b1bac7f071149719f7 (patch)
tree1fc9242a8781af23ddb3357dcb6c2fed6f38d667 /mining/bin/ati_temper
parentc3cf506bd0c791a19f43de1202f57b79bf9ff4bd (diff)
parent1c9260121e7dc9e193df178e98cffe71d6feaa91 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'mining/bin/ati_temper')
-rwxr-xr-xmining/bin/ati_temper5
1 files changed, 5 insertions, 0 deletions
diff --git a/mining/bin/ati_temper b/mining/bin/ati_temper
new file mode 100755
index 00000000..283a6024
--- /dev/null
+++ b/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`"