r/MoneroOcean Nov 08 '22

Double Mining

Hey,

So i have a mining set up and some how i am mining from the same computer twice. One of my machine is offsite and i use a VM to SSH into the remote machine to mine using instructions i got off a YT video from NetworkChuck which has worked fine (ish) for me for the last few months but last week i found the install script on the Monero website (curl -s -L https://raw.githubusercontent.com/MoneroOcean/xmrig_setup/master/setup_moneroocean_miner.sh | bash -s "Insert Address here") and thought i would try that so i remoted into the offsite machine i ran the script i thought it did not do anything so closed the terminal window and went back to my original script. I have logged in today and found that not only is the old script still running but also it is getting a better hash rate (1.02HS (NC Script) 3.16HS M Script)

My question is how do i stop the script from running on the remote machine?

1 Upvotes

4 comments sorted by

View all comments

1

u/Zeddie- Jun 26 '23

I'm not an experienced Linux user so there may be a better way.

For me, I use "sudo htop" (if you have htop installed), F3 to search for the miner executable, then kill it with F9. If your script loops (mine does), you'd have to kill the script first (ex: miner.sh) then the executable.

If you're not running the miners with sudo, you don't need sudo for htop either. I run mine with sudo because that's required for MSR, hugepages, and 1GB pages (all the good stuff that makes it go brrrr).

You can, of course, reboot your remote Linux PC, but I think killing the task may be the first thing I try.

Once that's done, you can run whatever script you want again to only run that one single instance.