Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2014 16:11:41 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        bycn82 <bycn82@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, Stefan Ehmann <shoesoft@gmx.net>
Subject:   Re: wlan0/iwn: no upload statistics
Message-ID:  <CAN6yY1tWQNeXAyNOoVUY8NqOchcJ19-A8=qaTY1Y-77idpqe1g@mail.gmail.com>
In-Reply-To: <017c01cf825b$8bf3a8b0$a3dafa10$@gmail.com>
References:  <5392DACF.4050401@gmx.net> <006e01cf824d$7e2684e0$7a738ea0$@gmail.com> <53931473.2020108@gmx.net> <017c01cf825b$8bf3a8b0$a3dafa10$@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 7, 2014 at 7:19 AM, bycn82 <bycn82@gmail.com> wrote:

> Hi,
>
> 1. I checked the source code of systat, it actually read from the mibdata=
,
> so the result should be the same as sysctl.
>
> 2. According to David's email, seems the netstat can show the correct
> output octets.
>
> Sorry I don=E2=80=99t have wireless network interface on my testing envir=
onment,
> but I noticed that the mibdta structure was changed recently,
>
>
> Best Regards,
> bycn82
>
>
>
>
> > -----Original Message-----
> > From: Stefan Ehmann [mailto:shoesoft@gmx.net]
> > Sent: 07 June, 2014 21:33
> > To: bycn82; freebsd-current@freebsd.org
> > Subject: Re: wlan0/iwn: no upload statistics
> >
> > On 07.06.2014 14:39, bycn82 wrote:
> > > Hi,
> >
> > Seem it was not clear in my original post: Only the wireless interface
> > is affected. lo0 shows upload stats.
> >
> > > More information is required. Please provide the output of the two
> > > commands below
> > >
> > > 1.   sysctl -a | grep octets
> >
> > iwn0/wlan0 don't appear here:
> > dev.em.0.mac_stats.good_octets_recvd: 0
> > dev.em.0.mac_stats.good_octets_txd: 0
> >
> >
> > > 2.   uname -a
> > FreeBSD tomorrow.pepperland 11.0-CURRENT FreeBSD 11.0-CURRENT #8
> > r267126: Fri Jun  6 06:14:13 CEST 2014
> > stefan@tomorrow.pepperland:/usr/obj/usr/src/sys/TOMORROW  amd64
>

FWIW, this is not a problem new to HEAD. I see the same on 10-STABLE with
my iwn. I see no stats at all in dev.iwn and there is no dev.wlan at all.

--=20
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tWQNeXAyNOoVUY8NqOchcJ19-A8=qaTY1Y-77idpqe1g>