tc monitoring

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have managed to dynamically parse the output of commands:

tc qdisc ls dev eth0 and 
tc -s class show dev eth0

Save statistics in an rrd database and display it via a php script.
see http://143.233.4.215/graph.php and dload scripts from 
http://143.233.4.210/qos/

My next step in developing this monitoring software is to somehow manage to 
create a tree out of tc and then use it to greatly improve the monitoring 
viewability. Check http://143.233.4.210/qos/applyQoS_Xylouris_v0.20.html

One way is to parse the script that installed the qdiscs into the kernel and 
through parent and handle ids to construct that tree. There is a number of 
problem in the above solution like commented tc commands, no distinction 
between functions applyHTBWondershaper() and applyCBQWondershaper() etc.

So is there a way to use the tc command and manage to get usefull information 
about which qdisc is parent and which is a leaf?

Thanks in advance for your time,

Antonios Chalkiopoulos

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux