echo '{"command":"summary","parameter":"0"}' | nc -v antminer-1 4028
{
"STATUS": [
{
"STATUS": "S",
"When": 1415057522,
"Code": 11,
"Msg": "Summary",
"Description": "cgminer 3.12.0"
}
],
"SUMMARY": [
{
"Elapsed": 112838,
"GHS 5s": 416.81,
"GHS av": 419.96,
"Found Blocks": 0,
"Getworks": 11712,
"Accepted": 6684,
"Rejected": 40,
"Hardware Errors": 215,
"Utility": 3.55,
"Discarded": 839931,
"Stale": 6,
"Get Failures": 8,
"Local Work": 25336132,
"Remote Failures": 0,
"Network Blocks": 234,
"Total MH": 47387095720.383,
"Work Utility": 5866.74,
"Difficulty Accepted": 11225402.12488,
"Difficulty Rejected": 67713.737557,
"Difficulty Stale": 12288,
"Best Share": 7466,
"Device Hardware%": 0.0019,
"Device Rejected%": 0.6137,
"Pool Rejected%": 0.599,
"Pool Stale%": 0.1087,
"Last getwork": 1415057522
}
],
"id": 1
}
$VAR1 = { 'summary' => [ { 'accepted' => 6769, 'local_work' => 25749250, 'last_getwork' => 1415059306, 'ghs_av' => '420.01', 'pool_rejected_percentage' => '0.5899', 'device_rejected_percentage' => '0.6041', 'remote_failures' => 0, 'difficulty_rejected' => '67713.737557', 'found_blocks' => 0, 'rejected' => 40, 'work_utility' => '5867.53', 'ghs_5s' => '430.31', 'elapsed' => 114620, 'hardware_errors' => 216, 'pool_stale_percentage' => '0.107', 'discarded' => 856511, 'device_hardware_percentage' => '0.0019', 'difficulty_accepted' => '11399482.12488', 'network_blocks' => 239, 'get_failures' => 8, 'difficulty_stale' => '12288', 'getworks' => 11928, 'utility' => '3.54', 'best_share' => 7466, 'stale' => 6, 'total_mh' => '48142047891.6372' } ], 'status' => [ { 'msg' => 'summary', 'code' => 11, 'when' => 1415059306, 'description' => 'cgminer_3.12.0', 'status' => 's' } ], 'id' => 1 }; $VAR1 = { 'status' => [ { 'description' => 'cgminer_3.12.0', 'when' => 1415059306, 'status' => 's', 'msg' => '3_pool(s)', 'code' => 7 } ], 'id' => 1, 'pools' => [ { 'user' => '1jhtq38ezyskhzgvrr7a6ebrzutprctwcn', 'stratum_active' => 'true', 'status' => 'alive', 'discarded' => 508595, 'pool_stale_percentage' => '0.2022', 'proxy_type' => '', 'rejected' => 36, 'priority' => 0, 'difficulty_accepted' => '5999888.423512', 'diff1_shares' => 70099, 'stale' => 6, 'pool' => 0, 'best_share' => 3477, 'getworks' => 7202, 'difficulty_stale' => '12288', 'get_failures' => 8, 'stratum_url' => 'stratum.nicehash.com', 'has_gbt' => 'false', 'accepted' => 3380, 'long_poll' => 'n', 'pool_rejected_percentage' => '1.0616', 'has_stratum' => 'true', 'diff' => '2.05k', 'quota' => 1, 'last_share_time' => '0:00:35', 'last_share_difficulty' => '2048', 'url' => 'stratum+tcp://stratum.nicehash.com:3334', 'difficulty_rejected' => '64512', 'proxy' => '', 'remote_failures' => 0 }, { 'stratum_active' => 'false', 'user' => '1jhtq38ezyskhzgvrr7a6ebrzutprctwcn', 'proxy_type' => '', 'priority' => 1, 'rejected' => 4, 'status' => 'alive', 'discarded' => 347916, 'pool_stale_percentage' => '0', 'diff1_shares' => 67770, 'difficulty_accepted' => '5399593.701368', 'get_failures' => 0, 'difficulty_stale' => '0', 'getworks' => 4718, 'stale' => 0, 'pool' => 1, 'best_share' => 7466, 'accepted' => 3389, 'has_gbt' => 'false', 'stratum_url' => '', 'long_poll' => 'n', 'pool_rejected_percentage' => '0.0593', 'has_stratum' => 'true', 'last_share_time' => '16:03:25', 'quota' => 1, 'diff' => '1.02k', 'difficulty_rejected' => '3201.737557', 'proxy' => '', 'url' => 'stratum+tcp://stratum.westhash.com:3334', 'remote_failures' => 0, 'last_share_difficulty' => '1024' }, { 'user' => '1jhtq38ezyskhzgvrr7a6ebrzutprctwcn', 'stratum_active' => 'false', 'status' => 'alive', 'pool_stale_percentage' => '0', 'discarded' => 0, 'proxy_type' => '', 'rejected' => 0, 'priority' => 2, 'difficulty_accepted' => '0', 'diff1_shares' => 0, 'stale' => 0, 'pool' => 2, 'best_share' => 0, 'get_failures' => 0, 'difficulty_stale' => '0', 'getworks' => 8, 'stratum_url' => '', 'has_gbt' => 'false', 'accepted' => 0, 'pool_rejected_percentage' => '0', 'has_stratum' => 'true', 'long_poll' => 'n', 'diff' => '2', 'quota' => 1, 'last_share_time' => '0', 'last_share_difficulty' => '0', 'difficulty_rejected' => '0', 'proxy' => '', 'url' => 'stratum+tcp://de3.miningpool.co:3921', 'remote_failures' => 0 } ] }; $VAR1 = { 'devs' => [ { 'name' => 'bmm', 'asc' => 0, 'last_share_time' => 1415059271, 'last_share_pool' => 0, 'last_share_difficulty' => '2048', 'no_device' => 'false', 'difficulty_rejected' => '62593.737557', 'enabled' => 'y', 'last_valid_work' => 1415059306, 'accepted' => 6722, 'device_rejected_percentage' => '0.5584', 'mhs_5s' => '405562.37', 'difficulty_accepted' => '11315514.12488', 'total_mh' => '48142047891.6372', 'diff1_work' => 11209005, 'id' => 0, 'mhs_av' => '420012.8', 'utility' => '3.52', 'device_elapsed' => 114620, 'temperature' => '40.5', 'device_hardware_percentage' => '0.0019', 'status' => 'alive', 'hardware_errors' => 216, 'rejected' => 37 } ], 'id' => 1, 'status' => [ { 'when' => 1415059306, 'description' => 'cgminer_3.12.0', 'status' => 's', 'msg' => '1_asc(s)', 'code' => 9 } ] };
=============================