Community discussions

MikroTik App
 
JimHeck
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Thu Jun 16, 2005 7:27 pm

Customer Bandwidth Control using Queues - total-bytes

Mon Sep 10, 2007 7:00 pm

Hi,

Having looked at the several excellent examples of controlling customer bandwidth using queues, I am now attempting to impliment a system of my own.

I can use the /queue simple total-bytes property to see customers activity, but in WinBox there are readings for Upload bytes and download bytes. I want to know if I can access these numbers from a script, and if so, what the properties are called. I have looked at the documentaion (promise!) but cant find it.

Anyone know the answer??

Thanks
Jim Heck
MilNet uk
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7211
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Customer Bandwidth Control using Queues - total-bytes

Tue Sep 11, 2007 12:15 pm

/queue simple get xx bytes
where xx is queue id

Return value will be in tx/rx firmat
 
JimHeck
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Thu Jun 16, 2005 7:27 pm

Re: Customer Bandwidth Control using Queues - total-bytes

Tue Sep 11, 2007 9:21 pm

Dear MRZ,

Many thanks - just what I needed!!

rgds
Jim