Bitcoin Forum
December 15, 2017, 02:59:59 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: [Tool] [Win10] Script Mining Monitor by  (Read 67 times)
Offline Offline

Activity: 1

View Profile
December 03, 2017, 03:23:38 PM

Hey Guy, i wrote a script to monitor my mining rig by netcat latest log to Seashell because i am too tired to watch every via Teamviewer.

This is also script for auto relaunch Mining ClayMore. It may work with other Miner like ccminer, but i havent tested yet, so feel free to try. All script i wrote is batch, powershell and bash. Everything is clear code. You can check on your own.

- Powershell
- Windows 10 with SubSystem Linux included. ( You can try cygwin)

- Batch is good, but it is limited. Powershell can reach System Process Level Monitor.
- Windows Pipe is stupid. Command must finish before pipe to other. Linux is line by line pipe.

Step by Step Guide:
1. Install SubSystem Linux by following online guide:

- Run in Powershell:
   Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
- Enable Developer Mode:
- Run cmd and type "bash" (without quotes)

2. Copy all to your claymore directory. Make sure start-eth-edited.bat is same directory with file *Miner.exe

3. Edit file auto.txt. Change your email, Bot_email ,your *Miner.exe and Worker value. ( I use Gmail so if you use anything else, please edit mail config yourself)

4. Create shortcut start-eth-edited.bat to Startup Directory to run with Windows startup.

!!!! Windows file like .txt and .bat is free to edit. but .BASH (or any thing run inside BASH) must be edited by vim inside bash. If you edit .bash file inside windows, please contact me to fix. Linux file cant contain /r charater.

After success, you will receive mail like this. It contains link of link. will monitor your rig like this.

Start-eth-edited ---Loop---> auto.bat

auto.txt --variable--> auto.bat

auto.bat --call--> script/FindProcessMining.ps1  ; find top 15 process with Highest CPU

auto.bat --excute--> MiningProcess ; excute Mining Process if top process doesnt have Mining Process

auto.bat --call --> script/seashell-mail.bash ; Setup seashell and send to your email. After that, script seashell sleep forever to prevent bash close.

If you need any support or have any feed back, comment or email me:

TODO Next:
- Fix all remain bug.
- Move from Mail to Messenger Facebook Bot. I am writing a Bot on Facebook Messenger but I dont have enough money to buy a vps contain data.
- Messenger Bot will have lot lot more feature than this. Include manage your own rigs on Messenger.

!!! Script is Free to use. But i need your help to improve the script. Please donate me at ETH Address: 0x0A7721Bef04B491F07cCd02102622E1CdcD84a76

Pages: [1]
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!