-
Notifications
You must be signed in to change notification settings - Fork 3
/
start-rtminer.sh
executable file
·33 lines (33 loc) · 2.17 KB
/
start-rtminer.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
killall python
#killall ethdcrminer64
#killall PhoenixMiner
killall teamredminer
killall FAHClient
find /root/fah | grep log | grep txt | xargs rm
find /var/log/ | xargs -r rm
/etc/init.d/ssh start
cp -r /root/fah/* /root/fahtmpfs
cd /root/fahtmpfs
mount -o bind,ro /root /rootr
nohup taskset -c 0 /root/fahtmpfs/FAHClient & # temporarily disable to test oclvanityminer
cd /rootr
#nohup python /rootr/gminer/stratum_proxy.py --local-host 1.2.3.4 --local-port 8008 --remote-host us-east.equihash-hub.miningpoolhub.com --remote-port 25074 --wallet-address digitalkid23.denizen &
#(while :; cd /rootr/gminer; do /rootr/mine.sh; sleep 3611; done) &
#nohup python /rootr/Claymore/stratum_proxy.py --local-host 1.2.3.4 --local-port 8008 --remote-host daggerhashimoto.usa.nicehash.com --remote-port 3353 --wallet-address 3NktvtucrCFRDdNi8aHiA9ozpYDnKZxDkJ.Rig1 &
nohup python /rootr/Claymore/stratum_proxy.py --local-host 1.2.3.4 --local-port 8008 --remote-host eth-us-west.flexpool.io --remote-port 4444 --wallet-address 0xbB6915E489C771E04A7f31feAD29A3db77083fd8.Rig0 &
(while :; cd /rootr/teamredminer; do /rootr/mine.sh; sleep 3611; done) &
#(while :; cd /rootr/PhoenixMiner; do /rootr/mine.sh; sleep 3611; done) &
#(while :; cd /rootr/Claymore; do /rootr/mine.sh; sleep 3611; done) &
#(while :; cd /rootr/tdxminer; do /rootr/tdxminer/go; sleep 3611; done) &
#(while :; cd /rootr/xmr-stak; do nohup taskset -c 1 /rootr/xmr-stak/xmr-stak; sleep 3611; done) &
#echo 100 > echo /proc/`ps -aux | grep ethdcrminer64 |egrep -v grep | awk '{print $2}'`/timerslack_ns
echo 100 > echo /proc/`ps -aux | grep teamredminer |egrep -v grep | awk '{print $2}'`/timerslack_ns
renice -20 `ps -ef | grep amd | egrep -v grep | awk '{print $2}'`
renice -20 `ps -ef | grep eth | egrep -v grep | awk '{print $2}'`
renice -20 `ps -ef | grep rcu | egrep -v grep | awk '{print $2}' `
chrt -a -p 99 `ps -ef | grep rcu | egrep -v grep | awk '{print $2}' `
chrt -a -p 99 `ps -ef | grep amd | egrep -v grep | awk '{print $2}' `
chrt -a -p 99 `ps -ef | grep eth | egrep -v grep | awk '{print $2}' `
chrt -a -p 99 `ps -ef | grep python | egrep -v grep | awk '{print $2}'`
while :; do cp -r /root/fahtmpfs/* /root/fah/; sleep 3580; done&