Re: [LARTC] statistics and calc bandwidth traffic using tc -s qdisc show

2007-05-18 Thread Ethy H. Brito
On Fri, 18 May 2007 18:37:22 +0300
Nikolay Kichukov <[EMAIL PROTECTED]> wrote:

> seems so cool ...
> 
> nice find ;-)
> thanks for sharing ;-)
> 
> -nik
> 
> On Thu, 2007-05-17 at 09:39 -0300, Salatiel Filho wrote:
> > I use tc-viewer . It does a great job.
> > http://snaj.ath.cx/tc-viewer/tc-viewer.html

Hi All

Is there any output that counts the number of dropped bytes (not packets)
just as in "Sent" output?
Any patch perhaps??

Regards

-- 

Ethy H. Brito /"\
InterNexo Ltda.   \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
+55 (12) 3797-6860 X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
S.J.Campos - Brasil   / \ 
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] statistics and calc bandwidth traffic using tc -s qdisc show

2007-05-18 Thread Nikolay Kichukov
seems so cool ...

nice find ;-)
thanks for sharing ;-)

-nik

On Thu, 2007-05-17 at 09:39 -0300, Salatiel Filho wrote:
> I use tc-viewer . It does a great job.
> http://snaj.ath.cx/tc-viewer/tc-viewer.html
> 
> 
> On 5/16/07, Pablo Fernandes Yahoo <[EMAIL PROTECTED]>
> wrote:
> Hello,
> 
>  
> 
> Is there someone here who knows what does it means?
> 
>  
> 
> The Sent part.
> 
>  
> 
> [EMAIL PROTECTED] ~]# tc -s qdisc show |grep -A 2 "qdisc sfq 140: dev
> eth0"
> 
> qdisc sfq 140: dev eth0 parent 1:140 limit 128p quantum 1514b
> perturb 10sec
> 
>  Sent 3155024 bytes 23249 pkt (dropped 0, overlimits 0
> requeues 0)
> 
>  rate 0bit 0pps backlog 0b 0p requeues 0
> 
>  
> 
> [EMAIL PROTECTED] ~]# tc -s qdisc show |grep -A 2 "qdisc sfq 140: dev
> eth1"
> 
> qdisc sfq 140: dev eth1 parent 1:140 limit 128p quantum 1514b
> perturb 10sec
> 
>  Sent 41141183 bytes 32560 pkt (dropped 0, overlimits 0
> requeues 0)
> 
>  rate 0bit 0pps backlog 0b 0p requeues 0
> 
>  
> 
>  
> 
> I also would like to know if there is a way to calc the
> bandwidth traffic (in kbit for example)of this
> customer using this informations.
> 
>  
> 
> Thank you for any help in advance.
> 
>  
> 
> Pablo Fernandes
> 
> 
>  
> 
> 
> 
> ___
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
> 
> 
> 
> 
> -- 
> []'s
> Salatiel
> 
> "O maior prazer do inteligente é bancar o  idiota 
>diante de um  idiota que banca o inteligente". 
> ___
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] statistics and calc bandwidth traffic using tc -s qdisc show

2007-05-17 Thread Salatiel Filho

I use tc-viewer . It does a great job.
http://snaj.ath.cx/tc-viewer/tc-viewer.html


On 5/16/07, Pablo Fernandes Yahoo <[EMAIL PROTECTED]> wrote:


 Hello,



Is there someone here who knows what does it means?



The Sent part.



[EMAIL PROTECTED] ~]# tc -s qdisc show |grep -A 2 "qdisc sfq 140: dev eth0"

qdisc sfq 140: dev eth0 parent 1:140 limit 128p quantum 1514b perturb
10sec

 Sent 3155024 bytes 23249 pkt (dropped 0, overlimits 0 requeues 0)

 rate 0bit 0pps backlog 0b 0p requeues 0



[EMAIL PROTECTED] ~]# tc -s qdisc show |grep -A 2 "qdisc sfq 140: dev eth1"

qdisc sfq 140: dev eth1 parent 1:140 limit 128p quantum 1514b perturb
10sec

 Sent 41141183 bytes 32560 pkt (dropped 0, overlimits 0 requeues 0)

 rate 0bit 0pps backlog 0b 0p requeues 0





I also would like to know if there is a way to calc the bandwidth traffic
(in kbit for example)of this customer using this informations.



Thank you for any help in advance.



Pablo Fernandes



___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc





--
[]'s
Salatiel

"O maior prazer do inteligente é bancar o  idiota
  diante de um  idiota que banca o inteligente".
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] statistics and calc bandwidth traffic using tc -s qdisc show

2007-05-17 Thread e . janz
[EMAIL PROTECTED] wrote on 16/05/2007 21:30:39:

> Hello,
> 
> Is there someone here who knows what does it means?
> 
> The Sent part.
> 
> [EMAIL PROTECTED] ~]# tc -s qdisc show |grep -A 2 "qdisc sfq 140: dev eth0"
> qdisc sfq 140: dev eth0 parent 1:140 limit 128p quantum 1514b perturb 
10sec
>  Sent 3155024 bytes 23249 pkt (dropped 0, overlimits 0 requeues 0)
>  rate 0bit 0pps backlog 0b 0p requeues 0
> 
> [EMAIL PROTECTED] ~]# tc -s qdisc show |grep -A 2 "qdisc sfq 140: dev eth1"
> qdisc sfq 140: dev eth1 parent 1:140 limit 128p quantum 1514b perturb 
10sec
>  Sent 41141183 bytes 32560 pkt (dropped 0, overlimits 0 requeues 0)
>  rate 0bit 0pps backlog 0b 0p requeues 0
> 
> 
> I also would like to know if there is a way to calc the bandwidth 
> traffic (in kbit for example)of this customer using this
> informations.
> 
> Thank you for any help in advance.
> 
> Pablo Fernandes
>  ___
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Hi,

the "Sent" parameter shows you the amount of data that fall into this 
qdisc. You can obtain the instant bandwith usage that falls into this 
qdisc parsing the "rate" parameter. In your example the rate is 0bit, that 
means 0 bits per second bandwith usage.
I must admit that the output from tc -s is a big pain !!

Best regards,
Eric Janz 

--

ADVERTENCIA LEGAL
El contenido de este correo es confidencial y dirigido unicamente a su 
destinatario. Para acceder a su clausula de privacidad consulte 
http://www.barceloviajes.com/privacy

LEGAL ADVISORY
This message is confidential and intended only for the person or entity to 
which it is addressed. In order to read its privacy policy consult it at 
http://www.barceloviajes.com/privacy
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] statistics htb

2006-01-06 Thread Dmytro O. Redchuk
On Thu, Jan 05, 2006 at 07:38:31PM +0800, Lee Sanders wrote:
> Hi Dzmitryj,
> 
> I'd look at polltc and htbstat
> http://edseek.com/~jasonb/software.shtml
> http://www2.ldc.net/~dor/py-htbstat/

I have updated (today) py-htbstat.

Changes are:
 o  added a possibility to set upper limit for graphs (useful when
counters reset after htb shaper restarting),
 o  added a script for getting a single picture (it returns "Content-Type:
image/png") for including in other pages,
 o  fixed a minor bug in htbstat.cgi config file.


If anybody offers any suggestions, i'll be very thankful.

> 
> There may be others as well but these are the only two I've seen mentioned on 
> this list for stats.
> 
> Regards,
> Lee
> 
> On Thu, 5 Jan 2006 07:29 pm, ??? ?? wrote:
> > Hi can anybody tell me what is the best and right way to gather statistics
> > from htb.init usage in graphics  or in any other format  cause it's
> > pretty uncomfortable to view statistics in text when you've got 4
> > interfaces and enough filters and queues
> >
> > Thank you !
> >
> > Dzmitryj Jakavuk
> ___
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

-- 
  _,-=._  /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
 `._ _,-.   )  _,.-'
`G.m-"^m`m'Dmytro O. Redchuk

___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] statistics htb

2006-01-05 Thread Lee Sanders
Hi Dzmitryj,

I'd look at polltc and htbstat
http://edseek.com/~jasonb/software.shtml
http://www2.ldc.net/~dor/py-htbstat/

There may be others as well but these are the only two I've seen mentioned on 
this list for stats.

Regards,
Lee

On Thu, 5 Jan 2006 07:29 pm, ��� �� wrote:
> Hi can anybody tell me what is the best and right way to gather statistics
> from htb.init usage in graphics  or in any other format  cause it's
> pretty uncomfortable to view statistics in text when you've got 4
> interfaces and enough filters and queues
>
> Thank you !
>
> Dzmitryj Jakavuk
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] statistics gathering program in c/c++

2004-03-18 Thread Stef Coene
On Thursday 18 March 2004 07:47, Brandis Jaroslav wrote:
> Hello ..
> Exist anywhere program for gathering class statistics (rate,etc ...) for
> next processing in compillable form (c,c++) for small embedded
> environment without perl  and scripting languages?
>
> I'm not programmer so I can't write this program in c.  I tried to use
> perlcc for tcmonitor.pl from docum.org but compillation failed.
I'm also not a programmer :), but maybe you can use the snmp extension as a 
start: http://x-ray.prokon.cz/data/snmp/

Stef

-- 
[EMAIL PROTECTED]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] Statistics in Linux

2004-02-22 Thread Roy



use 
tc -s qdisc show dev eth0
or 
tc -s class show dev eth0

  - Original Message - 
  From: 
  Massimo 
  Onorati 
  To: [EMAIL PROTECTED] 
  Sent: Sunday, February 22, 2004 3:30 
  PM
  Subject: [LARTC] Statistics in 
Linux
  
  What  are  tc  commands 
   which allow  us to get statistics  ( packets dropped or 
  delayed ) of  pfifo_fast  qdisc  (  the default  
  qdisc in Linux   )  on a given  interface ?
   
   
  Thanks  in  
advance.


RE: [LARTC] Statistics

2003-09-04 Thread Emmanuel SIMON
allready 2 answers, thank you
the 3rd question don't seem clear :
 - I am not asking about the HW parameters, but about the quantity of QOS
boxen you are using

thx for the 2 first and please go on

> -Message d'origine-
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> la part de Emmanuel SIMON
> Envoyé : jeudi 4 septembre 2003 22:56
> À : 'LARTC'
> Objet : [LARTC] Statistics
>
>
> Helle everybody,
>
> I am finishing a computer science degree and I would like to
> know how you
> use qos on Linux.
>
> Please take a few seconds to answer my questions
>
> I would like to know :
>  - what type of qdisc you use
>  - if it is only for tests or for a "real" use (what use)
>  - how much qos box do you use
>  - do you use anything else (Cisco, Unix ...)
>
> I don't know if it is better that you answer to me or to the
> list, so do as
> you want. Anyway i will send the result to the list.
>
> Thanks in advance
> Emmanuel
>
> ___
> LARTC mailing list / [EMAIL PROTECTED]
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] Statistics

2003-09-04 Thread Nickola Kolev
Hello, Emmanuel,

Straight to the question:

1. Personally I'm using mostly HTB.
2. Yes, it is in real use - that way I'm controlling traffic in the ISP I'm
working in.
3. I didnt get this question. If you're asking about the HW parameters -
PIII/1Ghz. If you're asking about the quantity of QOS boxen I'm using - 5 of
them, 4 GNU/Linux and one FreeBSD.
4. Yes, I'm using Cisco policers, but not for smth serious. Besides I'm
using FreeBSD altq with CBQ as a shaper (cause that's what it is).

On Thu, 4 Sep 2003 22:56:02 +0200
"Emmanuel SIMON" <[EMAIL PROTECTED]> wrote:

 : Helle everybody,
 : 
 : I am finishing a computer science degree and I would like to know how you
 : use qos on Linux.
 : 
 : Please take a few seconds to answer my questions
 : 
 : I would like to know :
 :  - what type of qdisc you use
 :  - if it is only for tests or for a "real" use (what use)
 :  - how much qos box do you use
 :  - do you use anything else (Cisco, Unix ...)
 : 
 : I don't know if it is better that you answer to me or to the list, so do as
 : you want. Anyway i will send the result to the list.
 : 
 : Thanks in advance
 : Emmanuel

-- 
Със здраве,
Никола
_

"Engineering does not require science. Science helps a lot but
people built perfectly good brick walls long before they knew
why cement works."  -Alan Cox   


pgp0.pgp
Description: PGP signature


Re: [LARTC] Statistics

2003-06-13 Thread Cameron Kerr
On Fri, Jun 13, 2003 at 05:27:22PM +0200, Bart Duchesne wrote:
> Hi all,
> 
> I'm experimenting with HTB and IMQ and I'm wondering if there exists a 
> tool to graph the throughput of traffic through my router.
> I now I can  setup iptables to count packets and read/reset these with a 
> script , but maybe there is allready something MRTG alike but for 
> shorter periods of measurements.

You might find my snmprtg useful for this, but you will need to be able
to query it using SNMP. It can run on most platforms too. Its still very
young, but quite usable. Currently the Poll Interval, and the number of
minutes to display is hard coded (5 secs, 10 mins respectively), but
should be easily changed.

http://nzgeeks.org/cameron/progs/snmprtg.php

Runs on anything with Perl/Tk and the SNMP module. (Developed on Linux,
tested with Windows NT and ActiveState Perl)

-- 
Cameron Kerr
Email:   [EMAIL PROTECTED]
Website: http://nzgeeks.org/cameron/

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] Statistics

2003-06-13 Thread Martin A. Brown
 : I'm experimenting with HTB and IMQ and I'm wondering if there exists a
 : tool to graph the throughput of traffic through my router.
 : I now I can  setup iptables to count packets and read/reset these with a
 : script , but maybe there is allready something MRTG alike but for
 : shorter periods of measurements.

See Stef's rrdtool-based tools [1] or if you need something more like
real-time stats, the Java-based stuff [2], or even his perl tools [3].

-Martin

  [1] http://www.docum.org/stef.coene/qos/gui/
  [2] http://www.docum.org/stef.coene/qos/java/
  [3] http://www.docum.org/stef.coene/qos/monitor/

-- 
Martin A. Brown --- SecurePipe, Inc. --- [EMAIL PROTECTED]

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


Re: [LARTC] Statistics

2003-06-13 Thread Daniel Ortiz
On Fri, Jun 13, 2003 at 05:27:22PM +0200, Bart Duchesne wrote:
> Hi all,
> 
> I'm experimenting with HTB and IMQ and I'm wondering if there exists a 
> tool to graph the throughput of traffic through my router.
> I now I can  setup iptables to count packets and read/reset these with a 
> script , but maybe there is allready something MRTG alike but for 
> shorter periods of measurements.
Try with 'monitor*' at www.docum.org Stef Coene's website about Traffic Control. 
> 
> Thanks alot,
> 
> -- 
> * Bart Duchesne 
> * R&D Engineer
> *
> * Able NV
> * Leuvensesteenweg 282 - B-3190 Boortmeerbeek - Belgium
> * Phone: + 32 15 50.44.00 - Fax: + 32 15 50.44.09
> * E-Mail: [EMAIL PROTECTED]
> * URL: http://www.axsguard.com
> *
> 
> 
> 
> --
> Security check on this e-mail has been done by aXs GUARD
> (http://www.axsguard.com)
> 


-- 
--

Daniel Ortiz
[EMAIL PROTECTED]

ILIMIT Comunicacions
Departament Sistemes
http://www.ilimit.es
Tel: (+34) 93 733 33 75
Fax: (+34) 93 733 32 43


pgp0.pgp
Description: PGP signature