Skip to content

Instantly share code, notes, and snippets.

@Jsewill
Last active December 31, 2015 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jsewill/7977801 to your computer and use it in GitHub Desktop.
Save Jsewill/7977801 to your computer and use it in GitHub Desktop.
Simple mining ssh helper scripts for linux
#!/bin/bash
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_HEAP_SIZE=100
xhost +local:
amdconfig --odsc 1050,1200 --adapter=all
mkfifo /tmp/mining-pipe
(bfgminer --no-opencl-binaries -T -S opencl:auto -o stratum+tcp://usa.wemineltc.com:3334 -u Jsewill.R7850 -p JesusisL0rd -o http://ltc.give-me-coins.com:3334 -u Jsewill.R7850 -p JesusisL0rd -I 20,20 -w 256 --thread-concurrency 12288,12288 --scrypt | tee /tmp/mining-pipe > /dev/null 2>&1; rm /tmp/mining-pipe) &
cat < /tmp/mining-pipe > /dev/null 2>&1&
#watch -n 5 amdconfig --odgt --adapter=all
#!/bin/bash
mkfifo /tmp/cpumining-pipe
(minerd -B -t 6 -o stratum+tcp://usa2.wemineltc.com:3334 -O Jsewill.FX8320:JesusisL0rd > /tmp/cpumining-pipe 2>&1; rm /tmp/cpumining-pipe) &
cat < /tmp/cpumining-pipe > /dev/null 2>&1&
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment