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
commit881cc875938fa775744ba26cbb718e5d7f783876 (patch)
tree13ec0dad44942254ed4b32b79730c9f96ce93398 /mining/bin/ati_temper
parentf80af89ad16a1107532456b21eb5a75b39cbade1 (diff)
parent6ead6dc58a2d7eeb6800a9f232e2272e74c37549 (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`"