From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Nayak, Ramakrishna" Date: Tue, 03 Jul 2001 16:56:10 +0000 Subject: [LARTC] TC statistics Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org All, What kind of statistics are available using tc? I have the following rules and I want to see the statistics something like number of packets transmitted from each queue. The rules: tc qdisc add dev eth0 root handle 1: prio bands 3 priomap 0 1 2 tc qdisc add dev eth0 parent 1:1 handle 2: pfifo limit 1024 tc qdisc add dev eth0 parent 1:2 handle 3: pfifo limit 1024 tc qdisc add dev eth0 parent 1:3 handle 4: pfifo limit 1024 tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 divisor 1 tc filter add dev eth0 parent 1:0 prio 1 u32 match udp src 0x06B8 0xffff flowid 1:1 tc filter add dev eth0 parent 1:0 prio 1 u32 match udp dst 0x06B8 0xffff flowid 1:1 I tried looking at the stats using: tc -stats filter show dev eth0 and this just lists all the filters. Thanks, ..Ram _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/