summaryrefslogtreecommitdiffstats
path: root/gold/mining/bin/ati_temper
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2011-08-25 18:43:50 +0200
committerEUcancER <root@euer.krebsco.de>2011-08-25 18:43:50 +0200
commit7499b82d0d8be67079c91e6d3b277dd65142c8ba (patch)
treec729ce62e9a12af2f399b60f284bef2d4dca1e81 /gold/mining/bin/ati_temper
parentb56137d875f43026aeabcc4403252e5e7008b93a (diff)
parent561f37e4a24061bd70113ebc7951175e0d3e116f (diff)
Merge branch 'master' of https://github.com/krebscode/painload
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`"