All pastes #447615 Raw Edit

iptables/tc statist.

public text v1 · immutable
·published 2007-04-19 05:12 UTC
rendered paste body
$ tc -s class show dev eth1
...
class htb 1:40 parent 1:1 leaf 140: prio 0 rate 5000Kbit ceil 5000Kbit burst 4Kb cburst 4Kb
  Sent 2048 bytes 23 pkt (dropped 0, overlimits 0 requeues 0)
...
$ iptables -t mangle -L -x -v
...
Chain POSTROUTING (policy ACCEPT 378133 packets, 509581436 bytes)
    pkts      bytes target     prot opt in     out     source               destination
      23     1726 MARK       0    --  any    any     anywhere             anywhere            LAYER7 l7proto ftp MARK set 0x6
...