Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2004 04:20:07 -0500 (EST)
From:      Andre Guibert de Bruet <andy@siliconlandmark.com>
To:        current@freebsd.org
Subject:   netstat -s: sysctl: net.inet.pim.stats: No such file or directory
Message-ID:  <20040119034655.U42487@alpha.siliconlandmark.com>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-708291516-1074504007=:42487
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi,

Running netstat -s yields the following:

igmp:
	0 messages received
	0 messages received with too few bytes
	0 messages received with bad checksum
	0 membership queries received
	0 membership queries received with invalid field(s)
	0 membership reports received
	0 membership reports received with invalid field(s)
	0 membership reports received for groups to which we belong
	0 membership reports sent
netstat: sysctl: net.inet.pim.stats: No such file or directory
ip6:
	0 total packets received
	0 with size smaller than minimum
	0 with data size < data length

I'm seeing this on a current build from 20040115 as well as a 4.9-stable
from 20040118. I've attached a patch that removes this warning. We should
print out PIM stats if it's enabled in the kernel and not worry users that
don't have it on.

Regards,

> Andre Guibert de Bruet | Enterprise Software Consultant >
> Silicon Landmark, LLC. | http://siliconlandmark.com/    >
--0-708291516-1074504007=:42487
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="netstat.pimwarn.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <20040119042007.U42487@alpha.siliconlandmark.com>
Content-Description: 
Content-Disposition: attachment; filename="netstat.pimwarn.patch"

SW5kZXg6IGluZXQuYw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KUkNTIGZp
bGU6IC9ob21lL25jdnMvc3JjL3Vzci5iaW4vbmV0c3RhdC9pbmV0LmMsdg0K
cmV0cmlldmluZyByZXZpc2lvbiAxLjYwDQpkaWZmIC11IC1yMS42MCBpbmV0
LmMNCi0tLSBpbmV0LmMgICAgICAyMyBPY3QgMjAwMyAxMzo1MzoxOSAtMDAw
MCAgICAgIDEuNjANCisrKyBpbmV0LmMgICAgICAxOSBKYW4gMjAwNCAwOTow
NjoxMSAtMDAwMA0KQEAgLTcxOSw3ICs3MTksNyBAQA0KCQltZW1zZXQoJnpl
cm9zdGF0LCAwLCBsZW4pOw0KCWlmIChzeXNjdGxieW5hbWUoIm5ldC5pbmV0
LnBpbS5zdGF0cyIsICZwaW1zdGF0LCAmbGVuLA0KCSAgICB6ZmxhZyA/ICZ6
ZXJvc3RhdCA6IE5VTEwsIHpmbGFnID8gbGVuIDogMCkgPCAwKSB7DQotCQl3
YXJuKCJzeXNjdGw6IG5ldC5pbmV0LnBpbS5zdGF0cyIpOw0KKy8qCQl3YXJu
KCJzeXNjdGw6IG5ldC5pbmV0LnBpbS5zdGF0cyIpOyAqLw0KCQlyZXR1cm47
DQoJfQ0KDQo=

--0-708291516-1074504007=:42487--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040119034655.U42487>