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
commit60bb54649d64208facc2d22478413e3fd1a7227f (patch)
tree84aeeb41a32888759e60d0a076056505555aa12f /gold/mining/bin/ati_temper
parent652928133042a8bd50decc3d8debf6d7b5e1924b (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`"