summaryrefslogtreecommitdiffstats
path: root/mining/bin/ati_temper
diff options
context:
space:
mode:
authorroot <root@chinaman.(none)>2011-07-08 17:24:48 +0200
committerroot <root@chinaman.(none)>2011-07-08 17:24:48 +0200
commit6e87f54b0d9b704421c079d1124d006fb0660f96 (patch)
treeed16bbe7881255bf521a1a671e202923fc2e96bc /mining/bin/ati_temper
parent7d0a872e905eef8dfc51770f4f56f4fb61f82147 (diff)
mining: added archlinux cruise control
mining/Makefile: added archlinux cruise control (auto installer) which always does the right thing. loosely after http://rubyists.github.com/2011/06/08/how-to-build-a-namecoin-or-bitcoin-miner-in98-easy-steps.html mining/{user/,}/bin:renamed mining/bin/newkey.sh: add policy Xorg keygen
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`"