Closed YourWildDad closed 6 years ago
xmrig-nvidia -B -l log-file-name -o stratum_url -u wallet_address -p x 2>&1 1> /dev/null
Notice in the last portion I added 2>&1 1> /dev/null - this will run the code in the background thus keeping all the logs on the log-file-name specified
Duplicate #3
On Ubuntu server 16.04, I compiled xmrig with CUDA9. when the
background
option isfalse
. everythings is well. but when thebackgroud
option istrue
, the miner looks like working, but speed always is n/a. when I run the xmrig-nvidia ,my console output some result like:I also set the
log-file
option, the log looks like this:How can i make this program run in background? Thank you.