From: xplorer <xplorer@inbox.lv>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] TC statistics
Date: Tue, 03 Jul 2001 18:31:22 +0000 [thread overview]
Message-ID: <marc-lartc-99418508232046@msgid-missing> (raw)
In-Reply-To: <marc-lartc-99115393524655@msgid-missing>
Quoting "Nayak, Ramakrishna" <rnayak@3eti.com>:
> 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.
>
you can view you bands by TC -S QDISC
BUT see description of PRIOMAP usage i have posted 2 days ago
Oh one more note: SRC and DST are define "Source IP" and "Destination IP"
for source port you must use SPORT, for destination port - DPORT.
---
This message contains no viruses.
Guaranteed by Kaspersky Anti-Virus.
www.antivirus.lv
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
next prev parent reply other threads:[~2001-07-03 18:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-29 16:41 [LARTC] tc statistics Serguei I. Ivantsov
2001-07-03 16:56 ` [LARTC] TC statistics Nayak, Ramakrishna
2001-07-03 18:31 ` xplorer [this message]
2001-07-03 20:11 ` Nayak, Ramakrishna
2003-07-02 12:44 ` [LARTC] tc statistics Joerg Hartmann
2003-07-02 13:08 ` Simon Stemplinger
2007-02-12 15:49 ` Bob Puff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-99418508232046@msgid-missing \
--to=xplorer@inbox.lv \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.