edoceo

How To: cgminer

cgminer 3.6.4
Built with bflsc mining support.
Usage: cgminer [-DdElmpPQqUsTouOchnV] 
Options for both config file and command line:
--api-allow    Allow API access only to the given list of [G:]IP[/Prefix] addresses[/subnets]
--api-description  Description placed in the API status header, default: cgminer version
--api-groups   API one letter groups G:cmd:cmd[,P:cmd:*...] defining the cmds a groups can use
--api-listen        Enable API, default: disabled
--api-mcast         Enable API Multicast listener, default: disabled
--api-mcast-addr  API Multicast listen address
--api-mcast-code  Code expected in the API Multicast message, don't use '-'
--api-mcast-des  Description appended to the API Multicast reply, default: ''
--api-mcast-port  API Multicast listen port (default: 4028)
--api-network       Allow API (if enabled) to listen on/for any address, default: only 127.0.0.1
--api-port     Port number of miner API (default: 4028)
--balance           Change multipool strategy from failover to even share balance
--benchmark         Run cgminer in benchmark mode - produces no shares
--bflsc-overheat  Set overheat temperature where BFLSC devices throttle, 0 to disable (default: 90)
--compact           Use compact display without per device statistics
--debug|-D          Enable debug output
--device|-d    Select device to use, one value, range and/or comma separated (e.g. 0-2,4) default: all
--disable-rejecting Automatically disable pools that continually reject shares
--expiry|-E    Upper bound on how many seconds after getting work we consider a share from it stale (default: 120)
--failover-only     Don't leak work to backup pools when primary pool is lagging
--fix-protocol      Do not redirect to a different getwork protocol (eg. stratum)
--hotplug      Seconds between hotplug checks (0 means never check)
--load-balance      Change multipool strategy from failover to quota based balance
--log|-l       Interval in seconds between log output (default: 5)
--lowmem            Minimise caching of shares for low memory applications
--monitor|-m   Use custom pipe cmd for output messages
--net-delay         Impose small delays in networking to not overload slow routers
--no-submit-stale   Don't submit shares if they are detected as stale
--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+) (default: 1)
--quiet|-q          Disable logging output, display status and errors
--quota|-U     quota;URL combination for server with load-balance strategy quotas
--real-quiet        Disable all output
--remove-disabled   Remove disabled devices entirely, as if they didn't exist
--rotate       Change multipool strategy from failover to regularly rotate at N minutes (default: 0)
--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: -1)
--sched-start  Set a time of day in HH:MM to start mining (a once off without a stop time)
--sched-stop   Set a time of day in HH:MM to stop mining (will quit without a start time)
--sharelog     Append share log to file
--shares       Quit after mining N shares (default: unlimited)
--socks-proxy  Set socks4 proxy (host:port)
--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)
--text-only|-T      Disable ncurses formatted screen output
--url|-o       URL for bitcoin JSON-RPC server
--user|-u      Username for bitcoin JSON-RPC server
--usb          USB device selection
--verbose           Log verbose output to stderr as well as status output
--userpass|-O  Username:Password pair for bitcoin JSON-RPC server
--worktime          Display extra work time debug information
Options for command line only:
--config|-c    Load a JSON-format configuration file
See example.conf for an example configuration.
--default-config  Specify the filename of the default config file
Loaded at start and used when saving without a name.
--help|-h           Print this message
--ndevs|-n          Display all USB devices, and exit
--version|-V        Display version and exit

Loading Comments from Disqus...