[LARTC] TC statistics

Linux Advanced Routing and Traffic Control

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

 



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



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