Skip to content

Instantly share code, notes, and snippets.

@supernoveau
Created November 14, 2018 01:46
Show Gist options
  • Save supernoveau/101eb5aa52b4d7c5b38466303384e094 to your computer and use it in GitHub Desktop.
Save supernoveau/101eb5aa52b4d7c5b38466303384e094 to your computer and use it in GitHub Desktop.
parse_statistics_inno
[{'id': 1, 'STATUS': [{'Msg': 'CGMiner stats', 'When': 1542159818, 'Code': 70, 'STATUS': 'S', 'Description': 'sgminer 4.4.2'}], 'STATS': [{'09 HW errors': 17, '11 Temp': 0, '08 pllOptimal': False, 'Min': 99999999.0, '06 HW errors': 24, '07 PLL': 0, '02 nVol': 883, '10 Nonce ranges': 0, '11 Cooldown': 0, '04 Nonces found': 208, '02 Temp': 0, '01 Stales': 0, '07 Stales': 1, '03 HW errors': 16, '02 PLL': 0, '10 HW errors': 19, '00 Fail count': 0, '02 Nonce ranges': 0, 'Num active chips': 12, '04 Temp': 0, '09 Stales': 1, '10 Temp': 0, 'Elapsed': 79537, '08 Nonce ranges': 0, '05 pllOptimal': False, '09 PLL': 0, '10 Cooldown': 0, 'PLL': 354, '07 Fail reset': 32, 'Num cores': 384, '10 nVol': 899, '07 Temp': 0, '00 Stales': 0, '03 Fail reset': 32, '04 PLL': 0, '05 Temp': 0, '05 HW errors': 21, '04 Nonce ranges': 0, '11 pllOptimal': False, '03 pllOptimal': False, '06 Fail reset': 32, '09 Temp': 0, '03 Fail count': 3, '00 Temp': 0, '01 Nonces found': 217, '06 pllOptimal': False, '01 Fail count': 0, '00 PLL': 0, '07 Cooldown': 0, '11 HW errors': 23, 'Calls': 0, '02 HW errors': 24, '04 pllOptimal': False, '06 Stales': 0, 'Temp max': 73.0, '04 HW errors': 15, '06 nVol': 876, '08 Stales': 2, '09 Nonces found': 223, '05 Fail reset': 32, '10 Fail reset': 32, '10 Nonces found': 242, '00 Fail reset': 32, 'Disabled': False, '02 Fail reset': 32, '06 Cooldown': 0, '02 pllOptimal': False, 'Chain num': 0, '10 Stales': 0, '11 nVol': 889, '03 nVol': 875, '08 Cooldown': 0, '11 PLL': 0, '06 Temp': 0, 'VidOptimal': True, 'Chain skew': 0, '01 Temp': 0, '05 Nonces found': 228, '05 Nonce ranges': 0, 'Temp min': 58.0, '00 Nonces found': 225, '07 Fail count': 0, 'Voltage Avg': 883, '08 Fail count': 3, '03 Nonces found': 232, '00 Nonce ranges': 0, '05 Cooldown': 0, '04 Stales': 0, '09 Fail count': 0, '07 nVol': 877, '09 nVol': 878, '06 Fail count': 1, 'iVid': 170, '05 Stales': 0, '04 Fail reset': 32, '01 nVol': 892, '11 Nonces found': 217, '00 nVol': 889, '09 Nonce ranges': 0, '06 Nonce ranges': 0, '01 Nonce ranges': 0, '01 Fail reset': 32, '08 Nonces found': 223, 'Chain ID': 0, '08 PLL': 0, 'Fan duty': 20, '11 Stales': 0, '09 pllOptimal': False, 'Wait': 0.0, 'STATS': 0, '00 HW errors': 17, '10 pllOptimal': False, '02 Stales': 0, '01 HW errors': 22, 'Max': 0.0, '05 Fail count': 2, '03 Temp': 0, '09 Cooldown': 0, 'ID': 'HLT0', '04 nVol': 883, '00 Cooldown': 0, '10 Fail count': 0, 'Num chips': 12, 'MHS av': 960000.0, '05 nVol': 873, '02 Cooldown': 0, '04 Cooldown': 0, '07 Nonces found': 203, '03 Stales': 0, '07 pllOptimal': False, '08 HW errors': 18, 'Voltage Min': 873, '09 Fail reset': 32, '01 pllOptimal': False, '06 Nonces found': 220, '10 PLL': 0, '11 Fail reset': 32, '00 pllOptimal': False, '08 Temp': 0, '01 Cooldown': 0, 'VoltageBalanced': False, '04 Fail count': 0, '06 PLL': 0, '07 HW errors': 14, '08 Fail reset': 32, '03 Cooldown': 0, 'Voltage Max': 899, '11 Fail count': 1, 'Temp': 65.0, '11 Nonce ranges': 0, '07 Nonce ranges': 0, '01 PLL': 0, '03 PLL': 0, '02 Fail count': 2, 'Enabled chips': 'fff', '03 Nonce ranges': 0, '02 Nonces found': 213, 'pllOptimal': True, '05 PLL': 0, '08 nVol': 886}, {'09 HW errors': 16, '11 Temp': 0, '08 pllOptimal': False, 'Min': 99999999.0, '06 HW errors': 19, '07 PLL': 0, '02 nVol': 876, '10 Nonce ranges': 0, '11 Cooldown': 0, '04 Nonces found': 242, '02 Temp': 0, '01 Stales': 0, '07 Stales': 0, '03 HW errors': 24, '02 PLL': 0, '10 HW errors': 18, '00 Fail count': 0, '02 Nonce ranges': 0, 'Num active chips': 12, '04 Temp': 0, '09 Stales': 1, '10 Temp': 0, 'Elapsed': 79537, '08 Nonce ranges': 0, '05 pllOptimal': False, '09 PLL': 0, '10 Cooldown': 0, 'PLL': 354, '07 Fail reset': 32, 'Num cores': 382, '10 nVol': 887, '07 Temp': 0, '00 Stales': 2, '03 Fail reset': 32, '04 PLL': 0, '05 Temp': 0, '05 HW errors': 22, '04 Nonce ranges': 0, '11 pllOptimal': False, '03 pllOptimal': False, '06 Fail reset': 32, '09 Temp': 0, '03 Fail count': 2, '00 Temp': 0, '01 Nonces found': 225, '06 pllOptimal': False, '01 Fail count': 1, '00 PLL': 0, '07 Cooldown': 0, '11 HW errors': 15, 'Calls': 0, '02 HW errors': 17, '04 pllOptimal': False, '06 Stales': 0, 'Temp max': 75.0, '04 HW errors': 24, '06 nVol': 866, '08 Stales': 0, '09 Nonces found': 210, '05 Fail reset': 32, '10 Fail reset': 31, '10 Nonces found': 219, '00 Fail reset': 32, 'Disabled': False, '02 Fail reset': 32, '06 Cooldown': 0, '02 pllOptimal': False, 'Chain num': 1, '10 Stales': 2, '11 nVol': 886, '03 nVol': 878, '08 Cooldown': 0, '11 PLL': 0, '06 Temp': 0, 'VidOptimal': True, 'Chain skew': 0, '01 Temp': 0, '05 Nonces found': 242, '05 Nonce ranges': 0, 'Temp min': 56.0, '00 Nonces found': 229, '07 Fail count': 2, 'Voltage Avg': 882, '08 Fail count': 0, '03 Nonces found': 205, '00 Nonce ranges': 0, '05 Cooldown': 0, '04 Stales': 0, '09 Fail count': 1, '07 nVol': 893, '09 nVol': 899, '06 Fail count': 3, 'iVid': 170, '05 Stales': 1, '04 Fail reset': 32, '01 nVol': 884, '11 Nonces found': 233, '00 nVol': 881, '09 Nonce ranges': 0, '06 Nonce ranges': 0, '01 Nonce ranges': 0, '01 Fail reset': 32, '08 Nonces found': 225, 'Chain ID': 1, '08 PLL': 0, 'Fan duty': 20, '11 Stales': 1, '09 pllOptimal': False, 'Wait': 0.0, 'STATS': 1, '00 HW errors': 21, '10 pllOptimal': False, '02 Stales': 0, '01 HW errors': 20, 'Max': 0.0, '05 Fail count': 4, '03 Temp': 0, '09 Cooldown': 0, 'ID': 'HLT1', '04 nVol': 890, '00 Cooldown': 0, '10 Fail count': 1, 'Num chips': 12, 'MHS av': 955000.0, '05 nVol': 878, '02 Cooldown': 0, '04 Cooldown': 0, '07 Nonces found': 175, '03 Stales': 1, '07 pllOptimal': False, '08 HW errors': 18, 'Voltage Min': 866, '09 Fail reset': 31, '01 pllOptimal': False, '06 Nonces found': 215, '10 PLL': 0, '11 Fail reset': 32, '00 pllOptimal': False, '08 Temp': 0, '01 Cooldown': 0, 'VoltageBalanced': False, '04 Fail count': 2, '06 PLL': 0, '07 HW errors': 48, '08 Fail reset': 32, '03 Cooldown': 0, 'Voltage Max': 899, '11 Fail count': 0, 'Temp': 63.0, '11 Nonce ranges': 0, '07 Nonce ranges': 0, '01 PLL': 0, '03 PLL': 0, '02 Fail count': 5, 'Enabled chips': 'fff', '03 Nonce ranges': 0, '02 Nonces found': 234, 'pllOptimal': True, '05 PLL': 0, '08 nVol': 875}, {'09 HW errors': 54, '11 Temp': 0, '08 pllOptimal': False, 'Min': 99999999.0, '06 HW errors': 27, '07 PLL': 0, '02 nVol': 887, '10 Nonce ranges': 0, '11 Cooldown': 0, '04 Nonces found': 205, '02 Temp': 0, '01 Stales': 1, '07 Stales': 1, '03 HW errors': 20, '02 PLL': 0, '10 HW errors': 17, '00 Fail count': 0, '02 Nonce ranges': 0, 'Num active chips': 12, '04 Temp': 0, '09 Stales': 0, '10 Temp': 0, 'Elapsed': 79537, '08 Nonce ranges': 0, '05 pllOptimal': False, '09 PLL': 0, '10 Cooldown': 0, 'PLL': 354, '07 Fail reset': 31, 'Num cores': 380, '10 nVol': 867, '07 Temp': 0, '00 Stales': 1, '03 Fail reset': 32, '04 PLL': 0, '05 Temp': 0, '05 HW errors': 59, '04 Nonce ranges': 0, '11 pllOptimal': False, '03 pllOptimal': False, '06 Fail reset': 32, '09 Temp': 0, '03 Fail count': 0, '00 Temp': 0, '01 Nonces found': 195, '06 pllOptimal': False, '01 Fail count': 1, '00 PLL': 0, '07 Cooldown': 0, '11 HW errors': 31, 'Calls': 0, '02 HW errors': 21, '04 pllOptimal': False, '06 Stales': 0, 'Temp max': 73.0, '04 HW errors': 16, '06 nVol': 877, '08 Stales': 0, '09 Nonces found': 193, '05 Fail reset': 32, '10 Fail reset': 31, '10 Nonces found': 152, '00 Fail reset': 32, 'Disabled': False, '02 Fail reset': 32, '06 Cooldown': 0, '02 pllOptimal': False, 'Chain num': 2, '10 Stales': 0, '11 nVol': 878, '03 nVol': 876, '08 Cooldown': 0, '11 PLL': 0, '06 Temp': 0, 'VidOptimal': True, 'Chain skew': 0, '01 Temp': 0, '05 Nonces found': 183, '05 Nonce ranges': 0, 'Temp min': 50.0, '00 Nonces found': 224, '07 Fail count': 2, 'Voltage Avg': 884, '08 Fail count': 0, '03 Nonces found': 218, '00 Nonce ranges': 0, '05 Cooldown': 0, '04 Stales': 1, '09 Fail count': 1, '07 nVol': 887, '09 nVol': 897, '06 Fail count': 3, 'iVid': 170, '05 Stales': 1, '04 Fail reset': 32, '01 nVol': 882, '11 Nonces found': 206, '00 nVol': 877, '09 Nonce ranges': 0, '06 Nonce ranges': 0, '01 Nonce ranges': 0, '01 Fail reset': 32, '08 Nonces found': 242, 'Chain ID': 2, '08 PLL': 0, 'Fan duty': 20, '11 Stales': 2, '09 pllOptimal': False, 'Wait': 0.0, 'STATS': 2, '00 HW errors': 20, '10 pllOptimal': False, '02 Stales': 1, '01 HW errors': 16, 'Max': 0.0, '05 Fail count': 3, '03 Temp': 0, '09 Cooldown': 0, 'ID': 'HLT2', '04 nVol': 898, '00 Cooldown': 0, '10 Fail count': 1, 'Num chips': 12, 'MHS av': 950000.0, '05 nVol': 898, '02 Cooldown': 0, '04 Cooldown': 0, '07 Nonces found': 125, '03 Stales': 0, '07 pllOptimal': False, '08 HW errors': 14, 'Voltage Min': 867, '09 Fail reset': 31, '01 pllOptimal': False, '06 Nonces found': 204, '10 PLL': 0, '11 Fail reset': 31, '00 pllOptimal': False, '08 Temp': 0, '01 Cooldown': 0, 'VoltageBalanced': False, '04 Fail count': 0, '06 PLL': 0, '07 HW errors': 70, '08 Fail reset': 32, '03 Cooldown': 0, 'Voltage Max': 898, '11 Fail count': 1, 'Temp': 61.0, '11 Nonce ranges': 0, '07 Nonce ranges': 0, '01 PLL': 0, '03 PLL': 0, '02 Fail count': 3, 'Enabled chips': 'fff', '03 Nonce ranges': 0, '02 Nonces found': 209, 'pllOptimal': True, '05 PLL': 0, '08 nVol': 890}, {'Pool Attempts': 0, 'Pool Max': 0.0, 'Net Bytes Recv': 883394, 'Min': 99999999.0, 'Bytes Sent': 21963676, 'Calls': 0, 'Times Sent': 7670, 'Work Had Expire': False, 'Pool Min': 99999999.0, 'Net Bytes Sent': 21963676, 'Pool Calls': 0, 'Work Diff': 524344.0, 'Work Roll Time': 0, 'STATS': 3, 'Bytes Recv': 883394, 'Min Diff Count': 24245, 'Times Recv': 9443, 'Min Diff': 262156.0, 'Max Diff': 1048816.0, 'Wait': 0.0, 'Work Had Roll Time': False, 'Max': 0.0, 'Elapsed': 79537, 'Pool Wait': 0.0, 'Max Diff Count': 131128, 'ID': 'POOL0', 'Pool Av': 0.0, 'Work Can Roll': False}, {'Pool Attempts': 0, 'Pool Max': 0.0, 'Net Bytes Recv': 1266, 'Min': 99999999.0, 'Bytes Sent': 218, 'Calls': 0, 'Times Sent': 3, 'Work Had Expire': False, 'Pool Min': 99999999.0, 'Net Bytes Sent': 218, 'Pool Calls': 0, 'Work Diff': 524344.0, 'Work Roll Time': 0, 'STATS': 4, 'Bytes Recv': 1266, 'Min Diff Count': 1, 'Times Recv': 7, 'Min Diff': 524344.0, 'Max Diff': 524344.0, 'Wait': 0.0, 'Work Had Roll Time': False, 'Max': 0.0, 'Elapsed': 79537, 'Pool Wait': 0.0, 'Max Diff Count': 1, 'ID': 'POOL1', 'Pool Av': 0.0, 'Work Can Roll': False}, {'Pool Attempts': 0, 'Pool Max': 0.0, 'Net Bytes Recv': 948, 'Min': 99999999.0, 'Bytes Sent': 218, 'Calls': 0, 'Times Sent': 3, 'Work Had Expire': False, 'Pool Min': 99999999.0, 'Net Bytes Sent': 218, 'Pool Calls': 0, 'Work Diff': 0.0, 'Work Roll Time': 0, 'STATS': 5, 'Bytes Recv': 948, 'Min Diff Count': 0, 'Times Recv': 6, 'Min Diff': 0.0, 'Max Diff': 0.0, 'Wait': 0.0, 'Work Had Roll Time': False, 'Max': 0.0, 'Elapsed': 79537, 'Pool Wait': 0.0, 'Max Diff Count': 0, 'ID': 'POOL2', 'Pool Av': 0.0, 'Work Can Roll': False}]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment