From: Milan Kocian <milon@wq.cz>
To: jamal <hadi@cyberus.ca>
Cc: Patrick McHardy <kaber@trash.net>, netdev@vger.kernel.org
Subject: Re: Difference between device statistics from ifconfig and ip -s l l
Date: Wed, 17 Oct 2007 15:42:49 +0200 [thread overview]
Message-ID: <20071017134249.GD16356@wq.cz> (raw)
In-Reply-To: <1192622498.4460.25.camel@localhost>
On Wed, Oct 17, 2007 at 08:01:38AM -0400, jamal wrote:
> >
> > One probably stupid question: Why is not done similar sum in output of 'ip -s l l' ?
>
> "missed" is not really an error. It just means the driver was
> overwhelmed and didnt even get the chance of seeing it whereas an error
> is something the driver processed and saw a problem with it.
>
Thanks for explanation. But if I understand well, the packet is lost anyway, isn't it ?
And when the packet is lost and I want to see all problems, I have to use detailed
(ip -s -s ) stats because non-detailed (ip -s ) stats may hide problems. True ?
If yes then using non-detailed stats lacks sense.
> > Imagine me :), I do 'ifconfig' and see dropped packets and then I do 'ip -s l l'
> > and see zeros. I stare on it like an idiot. Where is bug ? ifconfig ? ip ?
> > (man page of ip and 'ip -s -s l l' with missed packets stats saved me :).
> >
> > IMHO I think that comparable outputs of both programs should be still the same.
>
> I think ifconfig sums them up so the output formatting looks nice, but
> ip is more accurate. These stats are from standard SNMP mibs (off top of
> my head RFC1213 if it hasnt been obsoleted by something) - look at
> InIFxxxx stats.
>
I will try to look at. Thanks!
> cheers,
> jamal
>
regards,
--
Milan Kocian
prev parent reply other threads:[~2007-10-17 13:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-17 9:27 Difference between device statistics from ifconfig and ip -s l l Milan Kocian
2007-10-17 9:36 ` Patrick McHardy
2007-10-17 10:13 ` Milan Kocian
2007-10-17 10:35 ` Patrick McHardy
2007-10-17 11:29 ` Milan Kocian
2007-10-17 12:01 ` jamal
2007-10-17 13:42 ` Milan Kocian [this message]
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=20071017134249.GD16356@wq.cz \
--to=milon@wq.cz \
--cc=hadi@cyberus.ca \
--cc=kaber@trash.net \
--cc=netdev@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.