Hello!
I'd love to add support for Baikal miners to the miner monitoring project that I'm working on. Unfortunately, I don't have a Baikal miner to test with.
Is there any way that I could get somebody to run the following commands and PM me the output? I'd love you forever.
I'd love to add support for Baikal miners to the miner monitoring project that I'm working on. Unfortunately, I don't have a Baikal miner to test with.
Is there any way that I could get somebody to run the following commands and PM me the output? I'd love you forever.
Code:
echo '{"command":"stats"}' | netcat <baikal_ip_here> 4028
echo '{"command":"pools"}' | netcat <baikal_ip_here> 4028
echo '{"command":"devs"}' | netcat <baikal_ip_here> 4028
I believe this is what you want:
Code:
API command: devs
{
"STATUS": [
{
"STATUS": "S",
"When": 1533397884,
"Code": 9,
"Msg": "3 GPU(s)",
"Description": "sgminer 5.6.6-l"
}
],
"DEVS": [
{
"ASC": 0,
"Name": "BKLU",
"ID": 0,
"Enabled": "Y",
"Status": "Alive",
"Temperature": 47.0,
"MHS av": 3111.0421,
"MHS 5s": 3379.1931,
"Accepted": 1277,
"Rejected": 0,
"Hardware Errors": 0,
"Utility": 103.2529,
"Last Share Pool": 1,
"Last Share Time": 1533397884,
"Total MH": 2308584.7347,
"Diff1 Work": 158691.497589,
"Difficulty Accepted": 130197.14096064,
"Difficulty Rejected": 0.0,
"Last Share Difficulty": 149.66147328,
"No Device": false,
"Last Valid Work": 1533397884,
"Device Hardware%": 0.0,
"Device Rejected%": 0.0,
"Device Elapsed": 742
},
{
"ASC": 1,
"Name": "BKLU",
"ID": 1,
"Enabled": "Y",
"Status": "Alive",
"Temperature": 47.0,
"MHS av": 3091.0,
"MHS 5s": 3379.2005,
"Accepted": 1262,
"Rejected": 0,
"Hardware Errors": 0,
"Utility": 102.0401,
"Last Share Pool": 1,
"Last Share Time": 1533397884,
"Total MH": 2293712.1997,
"Diff1 Work": 158618.478538,
"Difficulty Accepted": 127321.87427328,
"Difficulty Rejected": 0.0,
"Last Share Difficulty": 149.66147328,
"No Device": false,
"Last Valid Work": 1533397884,
"Device Hardware%": 0.0,
"Device Rejected%": 0.0,
"Device Elapsed": 742
},
{
"ASC": 2,
"Name": "BKLU",
"ID": 2,
"Enabled": "Y",
"Status": "Alive",
"Temperature": 46.0,
"MHS av": 3090.5468,
"MHS 5s": 3379.1582,
"Accepted": 1270,
"Rejected": 0,
"Hardware Errors": 0,
"Utility": 102.6869,
"Last Share Pool": 1,
"Last Share Time": 1533397882,
"Total MH": 2293375.913,
"Diff1 Work": 161574.95538,
"Difficulty Accepted": 128734.96687936,
"Difficulty Rejected": 0.0,
"Last Share Difficulty": 149.66147328,
"No Device": false,
"Last Valid Work": 1533397884,
"Device Hardware%": 0.0,
"Device Rejected%": 0.0,
"Device Elapsed": 742
}
],
"id": 1
}
API command: pools
{
"STATUS": [
{
"STATUS": "S",
"When": 1533397884,
"Code": 7,
"Msg": "8 Pool(s)",
"Description": "sgminer 5.6.6-l"
}
],
"POOLS": [
{
"POOL": 0,
"Name": "hub.miningpoolhub.com",
"URL": "stratum+tcp://hub.miningpoolhub.com:17016",
"Profile": "",
"Algorithm": "skein-sha256",
"Algorithm Type": "Skeincoin",
"Description": "",
"Status": "Alive",
"Priority": 3,
"Quota": 1,
"Long Poll": "N",
"Getworks": 5,
"Accepted": 10,
"Rejected": 0,
"Works": 379,
"Discarded": 72,
"Stale": 0,
"Get Failures": 0,
"Remote Failures": 0,
"User": "ZZZZZZZZZZZZZZZZZZZZZZZ",
"Last Share Time": 1533397250,
"Diff1 Shares": 159.83552,
"Proxy Type": "",
"Proxy": "",
"Difficulty Accepted": 159.83552,
"Difficulty Rejected": 0.0,
"Difficulty Stale": 0.0,
"Last Share Difficulty": 16.90568,
"Has Stratum": true,
"Stratum Active": false,
"Stratum URL": "",
"Has GBT": false,
"Best Share": 186.11316,
"Pool Rejected%": 0.0,
"Pool Stale%": 0.0
},
{
"POOL": 1,
"Name": "hub.miningpoolhub.com",
"URL": "stratum+tcp://hub.miningpoolhub.com:17014",
"Profile": "",
"Algorithm": "qubit",
"Algorithm Type": "Qubit",
"Description": "",
"Status": "Alive",
"Priority": 0,
"Quota": 1,
"Long Poll": "N",
"Getworks": 32,
"Accepted": 3788,
"Rejected": 0,
"Works": 1921,
"Discarded": 364,
"Stale": 18,
"Get Failures": 0,
"Remote Failures": 0,
"User": "ZZZZZZZZZZZZZZZZZZZZZZZZ",
"Last Share Time": 1533397884,
"Diff1 Shares": 478192.615987,
"Proxy Type": "",
"Proxy": "",
"Difficulty Accepted": 385643.58659327,
"Difficulty Rejected": 0.0,
"Difficulty Stale": 1981.00918272,
"Last Share Difficulty": 149.66147328,
"Has Stratum": true,
"Stratum Active": true,
"Stratum URL": "hub.miningpoolhub.com",
"Has GBT": false,
"Best Share": 1860019.542141,
"Pool Rejected%": 0.0,
"Pool Stale%": 0.5111
}
],
"id": 1
}
API command: stats
{
"STATUS": [
{
"STATUS": "S",
"When": 1533397884,
"Code": 70,
"Msg": "sgminer stats",
"Description": "sgminer 5.6.6-l"
}
],
"STATS": [
{
"STATS": 0,
"ID": "BKLU0",
"Elapsed": 742,
"Calls": 0,
"Wait": 0.0,
"Max": 0.0,
"Min": 99999999.0,
"Chip Count": 64,
"Clock": 300,
"HWV": 29297,
"FWV": 7500055,
"Algo": "Qubit",
"USB Pipe": "0",
"USB Delay": "r0 0.000000 w0 0.000000",
"USB tmo": "341199 0"
},
{
"STATS": 1,
"ID": "BKLU1",
"Elapsed": 742,
"Calls": 0,
"Wait": 0.0,
"Max": 0.0,
"Min": 99999999.0,
"Chip Count": 64,
"Clock": 300,
"HWV": 29297,
"FWV": 7500055,
"Algo": "Qubit",
"USB Pipe": "0",
"USB Delay": "r0 0.000000 w0 0.000000",
"USB tmo": "11 0"
},
{
"STATS": 2,
"ID": "BKLU2",
"Elapsed": 742,
"Calls": 0,
"Wait": 0.0,
"Max": 0.0,
"Min": 99999999.0,
"Chip Count": 64,
"Clock": 300,
"HWV": 29297,
"FWV": 7500055,
"Algo": "Qubit",
"USB Pipe": "0",
"USB Delay": "r0 0.000000 w0 0.000000",
"USB tmo": "11 0"
}
],
"id": 1
}
Doesn't respond to commands..
No such file or directory