Skip to contentSkip to conversation

Howto Graph throughput?

LARTC [email protected] 3 participants 3 messages Aug 24, 2003

lore
Share & tools
lore
#0 lore raw

I have successfully implemented a QoS system using HTB on a 2Mb/s leased line and it works very well, but I would like to be able to graph the three pipes to see what they are doing, eg: using MRTG or similar.

Has anyone any experience or examples of how to do this please?

Thanks,
Chris

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 6 lines · On Sunday 24 August 2003 12:50, [email protected] wrote:

I have successfully implemented a QoS system using HTB on a 2Mb/s leased line and it works very well, but I would like to be able to graph the three pipes to see what they are doing, eg: using MRTG or similar.

Has anyone any experience or examples of how to do this please?

See www.docum.org. I have some perl scripts that uses rrdtool (also used in mrtg) to create graphs. I also have a java applet that can be used to show a graph in real time in a web browser. I also have some command line scripts. The rrdtool and java stuff is part of the GUI scripts. See home.docum.org/qos/ for an example.
Mhh. The graphs are not updated anymore.....

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to [email protected]

Hello info,

Sunday, August 24, 2003, 1:50:07 PM, you wrote:

Also you can collect amount of bytes transferred by class, by command for example:

tc -s show class dev eth0

root@pppoe:~# tc -s class show dev eth0
class htb 1:101 parent 1:10 leaf 101: prio 0 rate 14Kbit ceil 64Kbit burst 1616b cburst 1680b
 Sent 88 bytes 1 pkts (dropped 0, overlimits 0)
 lended: 1 borrowed: 0 giants: 0
 tokens: 698971 ctokens: 159300

class htb 1:10 parent 1:2 rate 64Kbit ceil 64Kbit burst 1680b cburst 1680b
Sent 88 bytes 1 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 159300 ctokens: 159300

class htb 1:2 root rate 100Mbit ceil 100Mbit burst 132644b cburst 132644b
Sent 88 bytes 1 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0
tokens: 8287 ctokens: 8287

icn> I have successfully implemented a QoS system using HTB on a 2Mb/s icn> leased line and it works very well, but I would like to be able to icn> graph the three pipes to see what they are doing, eg: using MRTG or icn> similar.

icn> Has anyone any experience or examples of how to do this please?

icn> Thanks,
icn> Chris

icn> _______________________________________________
icn> LARTC mailing list / [email protected]
icn> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Signature · 6 lines
Best regards,
 nuclearcat                            mailto:[email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/