Source: https://github.com/ethereum-mining/ethminer/releases
Binary execution File https://github.com/ethereum-mining/ethminer/releases
[Email protected]:/home/user/songrui/test/ethminer/bin#./ethminer--helpusage Ethminer [options]options:work farming mode:-F,--Farm <url> Put into mining farm mode with the work server at URL (default: http://127.0.0.1:8545)-ff,-fo,--farm-failover,--stratum-failover <url> failover getwork/stratum url (default: Disabled)--farm-retries <n> number of retries untilSwitchTo Failover (default:3) -S,--stratum Put into stratum mode with the stratum server at Host:port-fs,--failover-stratum Failover stratum Server at Host:port-O,--userpass <username.workername:password>Stratum Login Credentials-FO,--failover-userpass <username.workername:password>Failover stratum login credentials (optional, would use normal credentials when omitted)--work-timeout <n> Reconnect/failover after n seconds of working on the same (stratum) job. Defaults to the. Don'T set lower than Max Avg. block time-SC,--stratum-client <n> stratum client version. Defaults to1(Async client). Use2To use theNewsynchronous client. -SP,--stratum-protocol <n>Choose which stratum protocol to use:0: Official stratum spec:ethpool, Ethermine, Coinotron, MPH, Nanopool (default) 1: Eth-proxy Compatible:dwarfpool, F2pool, Nanopool (required forHashrate reporting to work with Nanopool)2: ethereumstratum/1.0.0: Nicehash-RH,--report-hashrate report current hashrate to pool (* only enable on pools supporting This) -se,--stratum-email <s> email address usedincheth-Proxy (optional)--farm-recheck <n> Leave N ms between checks forChanged work (default: -). WhenusingStratum, use a high value (i.e. -) toGetMore Stable hashrate outputbenchmarking mode:-M [<n>],--benchmark [<N>] Benchmark forMining and exit; Optionally specify block number to benchmark against specific DAG. --benchmark-warmup <seconds> Set the duration of warmup forThe benchmark tests (default:3). --benchmark-trial <seconds> Set the duration forEach trial forThe benchmark tests (default:3). --benchmark-trials <n> Set The number of benchmark trials to run (default:5). Simulation mode:-Z [<n>],--simulation [<n>] Mining Test mode. Used to validate kernel optimizations. Optionally specify block number. Mining Configuration:-G,--OpenCL When mining use the GPU via OpenCL. -U,--Cuda When mining use the GPU via Cuda. -X,--cuda-opencl use OpenCL + cudainchA system with mixed Amd/nvidia cards. may require setting--opencl-platform1--opencl-platform <n> when miningusing-g/--opencl use OpenCL platform N (default:0). --opencl-device <n> when miningusing-G/--OPENCL use OpenCL device N (default:0). --opencl-devices <0 1.. N> Select which OpenCL devices to mine on. Default is to use all-T,--mining-threads <n> Limit number of Cpu/gpu miners to N (default: Use everything available on selected platform)--list-devices list the detected Opencl/cuda devices and exit. Should be combined with-g or-U Flag-L,--dag-load-mode <mode>DAG generation mode. Parallel-Load DAG on all GPUs at the same time (default) Sequential-Load DAG on GPUs one after another. Use ThisWhen the miner crashes during DAG generation single<n>-generate DAG on device n, then copy to other devices--cl-local-work Set The OpenCL local work size. Default is ---cl-Global-work Set the OpenCLGlobalWork size asA multiple of the local work size. Default is 8192* ---cuda-block-size Set the Cuda block work size. Default is ---cuda-grid-size Set the cuda grid size. Default is 8192--cuda-streams Set The number of cuda streams. Default is 2--cuda-schedule <mode> Set the schedule mode forCUDA Threads Waiting forCUDA devices to finish work. Default is 'Sync'. Possible Values Are:auto-Uses a heuristic based on the number of active CUDA contextsinchThe process C and the number of logical processorsinchThe system P. If C > P, thenyield Elsespin. Spin-Instruct CUDA to actively spin when waiting forResults fromThe device. yield-Instruct CUDA toyieldIts thread when waiting forResults fromThe device. Sync-Instruct CUDA to block the CPU thread in a synchronization primitive when waiting forThe results fromThe device. --cuda-devices <0 1.. N> Select which CUDA GPUs to mine on. Default is to use all--cuda-parallel-hash <1 2..8> Define How many hashes to calculateinchA kernel, can is scaled to achieve better performance. default=4--api-port Set The API port, the miner should listen to. Use0To disable. default=0, use negative numbers to runinch ReadOnlyMode. forExample-3333. General Options:-V,--verbosity <0-9> Set the log verbosity from 0To9(default:8). -V,--version Show the version and exit. -H,--Help Show ThisHelp message and exit.
Ethereum Linux Mining applications