admin 管理员组

文章数量: 887021


2024年1月18日发(作者:jsp教程黑马)

现在在这里我简单翻译一下:

命令行参数:

用法:

参数适用于配置文件和命令行:

--api-allow Allow API access only to the given list of IP[/Prefix] addresses[/subnets]

允许列表中的IP[/前缀]地址[/子网]使用API

--api-description Description placed in the API status header (default: cgminer version)

位于API状态头文件中的描述(默认:cgminer version)

--api-listen Listen for API requests (default: disabled)

监听API请求(默认:关闭)

--api-network Allow API (if enabled) to listen on/for any address (default: only 127.0.0.1)

允许API(api-listen 开启)监听指定/任意地址(默认:只有127.0.0.1)

--api-port Port number of miner API (default: 4028)

挖矿程序API端口(默认:4028)

--auto-fan Automatically adjust all GPU fan speeds to maintain a target

temperature

自动调节GPU风扇控制温度

--auto-gpu Automatically adjust all GPU engine clock speeds to maintain a target

temperature

自动调节GPU时钟频率控制温度

--debug|-D Enable debug output

开启调试输出

--expiry|-E Upper bound on how many seconds after getting work we consider a

share from it stale (default: 120)

设定数据有效的最长工作时间(默认:120s)

--failover-only Don't leak work to backup pools when primary pool is lagging

主矿池掉线不切换到备用矿池

--load-balance Change multipool strategy from failover to even load balance

调整多矿池策略:从主从矿池到负载均衡

--log|-l Interval in seconds between log output (default: 5)

输出记录间隔时间(默认:5s)

--monitor|-m Use custom pipe cmd for output messages

使用客户自定义命令行管道输出信息

--net-delay Impose small delays in networking to not overload slow routers

强制短延迟,防止低速路由过载

--no-longpoll Disable X-Long-Polling support

关闭长巡检协议支持

--pass|-p Password for bitcoin JSON-RPC server

密码

--per-device-stats Force verbose mode and output per-device statistics

前置冗长风格和输出每个设备状态

--protocol-dump|-P Verbose dump of protocol-level activities

用于协议级别活动的大容量垃圾收容

--queue|-Q Minimum number of work items to have queued (0 - 10) (default: 1)

最小的工作队列(0-10)(默认:1)

--quiet|-q Disable logging output, display status and errors

关闭记录输出、状态显示和错误

--real-quiet Disable all output

关闭所有输出

--remove-disabled Remove disabled devices entirely, as if they didn't exist

删除所有关闭设备,就像他们不存在一样

--retries|-r Number of times to retry before giving up, if JSON-RPC call fails (-1

means never) (default: -1)

失败重试次数,如矿池支持(-1 表示从不)(默认:-1)

--retry-pause|-R Number of seconds to pause, between retries (default: 5)

重试时间间隔(默认:5)

--rotate Change multipool strategy from failover to regularly rotate at N minutes

(default: 0)

调整多矿池策略:从主从矿池到间隔轮巡(默认:0s)

--round-robin Change multipool strategy from failover to round robin on failure

调整多矿池策略:从主从矿池到失败轮检

--scan-time|-s Upper bound on time spent scanning current work, in seconds (default:

60)

本地网搜索最大时间耗费(默认:60s)

--sched-start Set a time of day in HH:MM to start mining (a once off without a stop time)

设置开始挖矿时间,格式HH:MM (启动就不再停止)

--sched-stop Set a time of day in HH:MM to stop mining (will quit without a start time)

设置自动挖矿时间,格式HH:MM (启用后不再开始)

--shares Quit after mining N shares (default: unlimited)

挖矿产出N次后退出(模式:无限制)

--socks-proxy Set socks4 proxy (host:port)

设置 socks4代理(主机:端口)

--submit-stale Submit shares even if they would normally be considered stale

提交共享数据无论是否过期

--syslog Use system log for output messages (default: standard error)

在系统记录里面记录输出信息(默认:标准错误输出)

--temp-cutoff Temperature where a device will be automatically disabled, one value or

comma separated list (default: 95)

关闭温度,一个值或者用逗号分割的列表(默认:95)

--text-only|-T Disable ncurses formatted screen output

关闭 ncurses格式屏幕输出

--url|-o URL for bitcoin JSON-RPC server

服务器地址

--user|-u Username for bitcoin JSON-RPC server

用户名

--verbose Log verbose output to stderr as well as status output

长文本输出标准错误和标准输出

--userpass|-O Username:Password pair for bitcoin JSON-RPC server

用户名:密码组

Options for command line only:

以下参数只支持命令行

--config|-c Load a JSON-format configuration file

装载JSON格式的配置文件

See for an example configuration.

可以参照设置配置

--help|-h Print this message

显示帮助文件

--version|-V Display version and exit

显示版本并推出

GPU only options:

GPU专用选项

--auto-fan Automatically adjust all GPU fan speeds to maintain a target

temperature

自动调节GPU风扇速度,控制温度

--auto-gpu Automatically adjust all GPU engine clock speeds to maintain a target

temperature

自动调节GPU频率,控制温度

--device|-d Select device to use, (Use repeat -d for multiple devices, default: all)

选择挖矿设备(多设备可重复使用-d参数,默认:全部 )

--disable-gpu|-G Disable GPU mining even if suitable devices exist

关闭GPU挖矿设备即使设备存在

--gpu-threads|-g Number of threads per GPU (1 - 10) (default: 2)

每个GPU设备的线程数 (默认:2)

--gpu-engine GPU engine (over)clock range in Mhz - one value, range and/or comma

separated list (e.g. 850-900,900,750-850)

GPU频率范围(超频)-一个值、范围或者用逗号分割的列表(例:850-900,900,750-850)

--gpu-fan GPU fan percentage range - one value, range and/or comma separated

list (e.g. 25-85,85,65)

GPU风扇速度百分比-一个值、范围或者用逗号分割的列表(25-85,85,65)

--gpu-memclock Set the GPU memory (over)clock in Mhz - one value for all or separate by

commas for per card.

设置GPU显存频率(超频)-统一设定或分别设置,中间用逗号分割

--gpu-memdiff Set a fixed difference in clock speed between the GPU and memory in

auto-gpu mode

在自动调节频率时,在GUP时钟频率和显存时钟频率间设置一个差值

--gpu-platform Select OpenCL platform ID to use for GPU mining (default: 0)

使用OpenCL平台ID来显卡挖矿(默认:0)

--gpu-powertune Set the GPU powertune percentage - one value for all or separate by

commas for per card.

设置GPU功率百分比-统一设置或者分别设置,中间用逗号分割

--gpu-reorder Attempt to reorder GPU devices according to PCI Bus ID

尝试用PCI总线ID来排列GPU设备

--gpu-vddc Set the GPU voltage in Volts - one value for all or separate by commas for

per card.

设置GPU电压-统一设置或者分别设置,中间用逗号分割

--intensity|-I Intensity of GPU scanning (d or -10 -> 10, default: d to maintain desktop

interactivity)

GPU扫描强度(d 或者-10->10,默认保持桌面交互)

--kernel-path|-K Specify a path to where the kernel .cl files are (default: "/usr/local/bin")

指定核心.cl文件的位置(默认:"/usr/local/bin")

--kernel|-k Select kernel to use (poclbm or phatk - default: auto)

使用核心(poclbm or phatk -默认:自动)

--no-restart Do not attempt to restart GPUs that hang

GPU挂起时不尝试重启

--temp-hysteresis Set how much the temperature can fluctuate outside limits when

automanaging speeds (default: 3)

设置自动调速时温度波动范围(默认:3)

--temp-overheat Overheat temperature when automatically managing fan and GPU

speeds (default: 85)

设置自动控制风扇速度和GPU频率时的报警温度

--temp-target Target temperature when automatically managing fan and GPU speeds

(default: 75)

自动运行时控制风扇速度和GPU频率时最高温度

--vectors|-v Override detected optimal vector width (1, 2 or 4)

忽略发现的优化向量宽度

--worksize|-w Override detected optimal worksize (default: 0)

忽略发现的优化工作区间

--ndevs|-n Enumerate number of detected GPUs and exit

枚举检测到的GPU数量并退出

BitForce only options:

BitForce专用选项

--scan-serial|-S Serial port to probe for BitForce device

串行端口探查BitForce device

CPU only options:

--algo|-a Specify sha256 implementation for CPU mining:

为CPU挖矿指定sha256

auto Benchmark at startup and pick fastest algorithm

标准启动并选择快速算法

c Linux kernel sha256, implemented in C

Linux核心sha256,用C语言运算

4way tcatm's 4-way SSE2 implementation

使用tcatm的4-way

via VIA padlock implementation

使用VIA挂锁

cryptopp Crypto++ C/C++ implementation

使用加密C或C++

sse2_64 SSE2 64 bit implementation for x86_64 machines

对x86_64机器使用SSE2 64 bit

sse4_64 SSE4.1 64 bit implementation for x86_64 machines (default: sse2_64)

对x86_64机器使用SSE4.1 64 bit(默认:sse2_64)

--cpu-threads|-t Number of miner CPU threads (default: 4)

CPU挖矿线程数(默认:4)

--enable-cpu|-C Enable CPU mining with other mining (default: no CPU mining if other

devices exist)

没有其他挖矿设备时,使用CPU(默认:禁止CPU挖矿若其他设备存在)


本文标签: 默认 输出 设置 挖矿 设备