Bitcoin Forum
December 04, 2016, 06:33:57 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: GPU shutdown script for Ubuntu  (Read 1159 times)
afarzin
Jr. Member
*
Offline Offline

Activity: 41


View Profile
June 11, 2011, 12:11:53 AM
 #1

Is there a way to have a video card stop hashing if a temperature get's really high?
1480876437
Hero Member
*
Offline Offline

Posts: 1480876437

View Profile Personal Message (Offline)

Ignore
1480876437
Reply with quote  #2

1480876437
Report to moderator
1480876437
Hero Member
*
Offline Offline

Posts: 1480876437

View Profile Personal Message (Offline)

Ignore
1480876437
Reply with quote  #2

1480876437
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480876437
Hero Member
*
Offline Offline

Posts: 1480876437

View Profile Personal Message (Offline)

Ignore
1480876437
Reply with quote  #2

1480876437
Report to moderator
Rob P.
Member
**
Offline Offline

Activity: 84



View Profile WWW
June 11, 2011, 12:16:35 AM
 #2

Yes.

--

If you like what I've written here, consider tipping the messenger:
1GZu4CtHa6ai8iWoWiVFxV5VVoNte4SkoG

If you don't like what I've written, send me a Tip and I'll stop talking.
horrorshow
Jr. Member
*
Offline Offline

Activity: 56


View Profile
June 11, 2011, 12:59:27 AM
 #3

Quote
Yes.

That was not helpful at all.

Since it's linux, find a program that will monitor the hardware temperatures (there are numerous ones out there). Then make a shell script and find the temperature output by executing this program with whichever arguments you want. Then, take that output and use a conditional statement to kill your miner processes and spit out an error message if the temp exceeds your desired Tmax. Run this script on a constant loop (using "while true") or with a cron set to every minute.

I'm not at home right now, and unfortunately that means I don't have enough time to lay all this out or even draft anything...but if you've done a shell script before this should be fairly easy.

Check out some of my music, and if you like it, please donate!

http://soundcloud.com/thricefoldedcloak

1BFDM1PoXywwGLAhyt3cC7as5LWEZnAByt
Rob P.
Member
**
Offline Offline

Activity: 84



View Profile WWW
June 11, 2011, 01:05:43 AM
 #4

I answered the question, he didn't ask for examples.

I'd be happy to write one, need:
     Command to check temp of each card, sample output
     Command to run miner for each card
     Output of 'ps ax' while miners running

--

If you like what I've written here, consider tipping the messenger:
1GZu4CtHa6ai8iWoWiVFxV5VVoNte4SkoG

If you don't like what I've written, send me a Tip and I'll stop talking.
horrorshow
Jr. Member
*
Offline Offline

Activity: 56


View Profile
June 11, 2011, 01:17:06 AM
 #5

Sorry, you are technically correct. I just don't think he had a yes/no in mind. He may be thinking there's a script already out there just ready for him to run. In most cases people just write these themselves.

Check out some of my music, and if you like it, please donate!

http://soundcloud.com/thricefoldedcloak

1BFDM1PoXywwGLAhyt3cC7as5LWEZnAByt
nomnomnom
Sr. Member
****
Offline Offline

Activity: 311



View Profile
June 11, 2011, 01:19:44 AM
 #6

This -> https://github.com/jsidhu/Bitcoin-Miner-Script/blob/master/start_miner_x.sh script
has a part in it that shuts down gpu at certain temperature (starting around line ~138)
So you can look there how it can be done Smiley
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!