Hi people, firstly i didn’t find a solution at previous answers.
I need to get something like this reply gives to me
$trequest = new RouterOS\Request('/interface monitor-traffic interface='.$if.' once');
$result = $client->sendSync($trequest)->current();
echo json_encode(
array(
'rx' => $result('rx-bits-per-second'),
'tx' => $result('tx-bits-per-second'),)
BUT I NEED THIS INFORMATION FOR A PPPOE ACTIVE USER, SO I CAN SEE THE REALTIME TRAFFIC.