From: Antonios Chalkiopoulos Date: Thu, 30 Sep 2004 11:31:13 +0000 Subject: [LARTC] tc monitoring Message-Id: <200409301431.13267.alg0@iit.demokritos.gr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/