API Docs
cgminer commands
asccount

asccount

Description

Returns the count of ASIC boards. The count does not consider disabled boards or inactive boards.

Command

$ echo '{"command": "asccount"}' | nc $MINER_IP 4028 | jq

Example

$ echo '{"command": "asccount"}' | nc $MINER_IP 4028 | jq
{
  "ASCS": [
    {
      "Count": 3
    }
  ],
  "STATUS": [
    {
      "Code": 104,
      "Description": "cgminer 1.0.0",
      "Msg": "ASC count",
      "STATUS": "S",
      "When": 1672770089
    }
  ],
  "id": 1
}

Field details

FieldNotes
CountThe number of boards.