[ADDED] System load to dashboard call
This commit is contained in:
parent
1074c8c0bf
commit
9bd1f8e963
@ -105,6 +105,7 @@ $data = array(
|
|||||||
'difficulty' => pow(2, $config['difficulty'] - 16),
|
'difficulty' => pow(2, $config['difficulty'] - 16),
|
||||||
'target_bits' => $config['difficulty']
|
'target_bits' => $config['difficulty']
|
||||||
),
|
),
|
||||||
|
'system' => array( 'load' => sys_getloadavg() ),
|
||||||
'network' => array( 'hashrate' => $dNetworkHashrateAdjusted, 'difficulty' => $dDifficulty, 'block' => $iBlock ),
|
'network' => array( 'hashrate' => $dNetworkHashrateAdjusted, 'difficulty' => $dDifficulty, 'block' => $iBlock ),
|
||||||
);
|
);
|
||||||
echo $api->get_json($data);
|
echo $api->get_json($data);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user