hi
i am using the following code to get the queue transfer rate for graphing purpose
if ($API->connect(‘ip’, ‘user’, ‘pass’))
{
$API->write(‘/queue/simple/print’,false);
$API->write(‘=rate=’);
$READ = $API->read(false);
$output =$API->parse_response($READ);
$API->disconnect();
}
what i want is rather than displaying all the details it should only display the target and the rate field
also it should show the rate in kbps only