![]() The current values will result in a summary email once every 6 hours.London. You can change the email interval by modifying the “sendSummary” value in the script. You can download the scripts and use them as you see fit. (If you try to use your Gmail email as the sender email, it won’t go through.) Download The Sending email address will always be from where “hostname” is the short hostname for the server the script is running on. If you add the sending email to your contacts, it’s possible that your email provider might not mark it as spam. So check your Spam folder for the emails. The emails you receive from the script will most likely be marked as Spam. opt/trex/t-rex -a ethash -url stratum+ssl://:5555 -user 0xSetYourEthWalletAddressHere -p x -w trexworker -log-path /opt/trex/logs/trex.log -no-watchdog -send-stales -d 1,5 -kernel 0 -lhr-tune 68,71 -lhr-autotune-mode full -coin eth -intensity 15.5,22.1 # Delete the previous log file rm -f /opt/trex/logs/ *.log Mv -nv - /opt/trex/logs/trex.log /opt/trex/logs/archive/trex- $( date + '%Y%m%d_%H%M%S' ).log # Archive the existing log file mkdir /opt/trex/logs/archive # Start the watcher ( sleep 300 perl /opt/trex/ /opt/trex/logs ) & #!/bin/sh # Load Nvidia over/underclocks sudo /opt/trex/nvidia-settings.sh To do that, I add this line to the beginning of my miner scripts: So you do need to make sure that your miner software is already running. The Perl scripts look for the newest log file in your specified log file directory. I call these Perl scipts from within my miner scripts. If you do encounter that issue, please send contact me and send me your log file! Usage T-Rex is only for Nvidia cards and I’ve never encountered that with T-Rex, so that part of the script has been removed. I’ve only ever had the invalid hash rate with the AMD cards and Phoenix Miner. Hash Rate and LHR Summary every 6 hours.The T-Rex Miner script will report the following via an email: A lower mining intensity can limit LHR locks overall and thus, increase your hash rate.) I modified the Phoenix Miner script to work with T-Rex. (Quick tip, mess with the mining intensity for each of your LHR cards with “auto tune” enabled. To mine with these cards, I switched to T-Rex Miner. Notification of an Invalid Hash Rate (the script will automatically reboot the server if this occurs to prevent a system lock up).The Phoenix Miner script will report the following via an email: You can install “sendmail” and “perl” by running the following (choose the appropriate one for your Linux platform): The script assumes a Linux install and depends on “sendmail” and “perl”. So I put that to use and wrote a script that would tail the Phoenix Miner log. I’m not a Perl master, but I know enough to be dangerous. Ideally, it’s shutdown or rebooted appropriately. ![]() I installed BN Link Smart Plugs to be able to remotely shutdown and restart the rig, but there’s always risk with just cutting power to a server like that. When Phoenix Miner crashed from one of the AMD cards (PowerColor 5700 XTs), my system was completely locked up. (I did make sure that the crashes aren’t related to any over/under clocks I used, they aren’t.) Looking at the log files, the AMD card that causes the crash would report an insane hashrate a minute or two before it actually would crash. I also had intermittent issues with my AMD cards which would cause one of my rigs to crash. One thing I wanted was automated updates on the status of my rigs. I’ve been mining Ethereum with Phoenix Miner since February of this year (using Ubuntu 20.04). Phoenix Miner/T-Rex Watch Scripts Post Date: 15:40:00 +0000 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |