summaryrefslogtreecommitdiffstats
path: root/gold/mining/bin/ati_temper
diff options
context:
space:
mode:
authortv <tv@xso>2011-08-24 16:45:00 +0200
committertv <tv@xso>2011-08-24 16:45:00 +0200
commitc37ab9c4accc58919e87ad4eee1ef19f49eed873 (patch)
treee640c348718e2a72770ce47d03e4549b6fbce80f /gold/mining/bin/ati_temper
parente7a148349ef3e1e4e1607fd29148bec51dc4ed82 (diff)
{btc -> gold} SC & co., we're ready
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`"