diff options
author | tv <tv@also> | 2011-08-06 03:09:28 +0200 |
---|---|---|
committer | tv <tv@also> | 2011-08-06 03:09:28 +0200 |
commit | 881cc875938fa775744ba26cbb718e5d7f783876 (patch) | |
tree | 13ec0dad44942254ed4b32b79730c9f96ce93398 /mining/bin/ati_temper | |
parent | f80af89ad16a1107532456b21eb5a75b39cbade1 (diff) | |
parent | 6ead6dc58a2d7eeb6800a9f232e2272e74c37549 (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'mining/bin/ati_temper')
-rwxr-xr-x | mining/bin/ati_temper | 5 |
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`" |