FirmwareAPI DocumentationCGminer commands
lcd
Compact digest of the mining statistics
lcd
Description
A compact digest of the summary-level statistics in a single item, the cgminer lcd command, for tools that poll one
small reply instead of summary, pools and devs. Every value comes from the same data
those commands report. The pool and share fields follow the first connected user pool (never the dev-fee pool); the
hashrate and temperature cover the boards that are alive.
On Antminer Equihash ASIC miners (Zcash), hashrate is measured in solutions per second. The field names are kept for
compatibility, and the unit follows the coin: the GHS fields are in KSol/s.
Command
$ echo '{"command": "lcd"}' | nc $MINER_IP 4028 | jqExamples
$ echo '{"command": "lcd"}' | nc $MINER_IP 4028 | jq
{
"LCD": [
{
"Best Share": 735633,
"Current Pool": "btc.global.luxor.tech:700",
"Elapsed": 2330,
"Found Blocks": 0,
"Found Blocks All Time": 0,
"GHS 5m": 13698.52,
"GHS 5s": 13084.18,
"GHS av": 13701.74,
"Last Found Block": 0,
"Last Found Block Hash": "",
"Last Found Block Height": 0,
"Last Share Difficulty": 32768.0,
"Last Share Time": 1672770087,
"Last Valid Work": 1672770087,
"Network Difficulty": 152123456789012.0,
"Temperature": 82.0,
"User": "worker"
}
],
"STATUS": [
{
"Code": 125,
"Description": "LUXminer 2024.2.19.131822-ef17c0c4",
"Msg": "LCD",
"STATUS": "S",
"When": 1672770090
}
],
"id": 1
}Field details
| Field | Notes |
|---|---|
Best Share | All-time highest accepted share difficulty, the same value as Best Share in summary. |
Current Pool | URL of the current user pool, "" when no user pool is listed. |
Elapsed | Number of seconds since the miner started. |
Found Blocks | Blocks found since the miner started, counted from the miner's side only; see Found Blocks. |
Found Blocks All Time | Blocks found over the life of the miner, persisted across restarts. |
GHS 5m | Hashrate, in GH/s, of the last 5 minutes. |
GHS 5s | Hashrate, in GH/s, of the last 5 seconds. |
GHS av | Average hashrate in GH/s. |
Last Found Block | Unix time at which the pool accepted the share of the last found block, 0 when the miner has never found one. |
Last Found Block Hash | Hash of the last found block, as block explorers print it. "" when the miner has never found one. |
Last Found Block Height | Height of the last found block (BIP34). 0 when the miner has never found one and on Antminer Equihash ASIC miners. |
Last Share Difficulty | Difficulty of the last share the current pool accepted. |
Last Share Time | Unix time of the last share the current pool accepted. |
Last Valid Work | Unix time of the last accepted share on any board. |
Network Difficulty | Same as Network Difficulty in coin, on the same scale as Best Share. |
Temperature | Hottest board temperature among the boards that are alive, in °C; 0.0 when no board reports one. |
User | Worker name on the current user pool, "" when no user pool is listed. |