Bitcoin Forum
May 12, 2024, 07:38:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: GPU shutdown script for Ubuntu  (Read 1365 times)
afarzin (OP)
Newbie
*
Offline Offline

Activity: 41
Merit: 0


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?
1715542714
Hero Member
*
Offline Offline

Posts: 1715542714

View Profile Personal Message (Offline)

Ignore
1715542714
Reply with quote  #2

1715542714
Report to moderator
1715542714
Hero Member
*
Offline Offline

Posts: 1715542714

View Profile Personal Message (Offline)

Ignore
1715542714
Reply with quote  #2

1715542714
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Rob P.
Member
**
Offline Offline

Activity: 84
Merit: 10


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
Newbie
*
Offline Offline

Activity: 56
Merit: 0


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.
Rob P.
Member
**
Offline Offline

Activity: 84
Merit: 10


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
Newbie
*
Offline Offline

Activity: 56
Merit: 0


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.
nomnomnom
Sr. Member
****
Offline Offline

Activity: 313
Merit: 250



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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!