lkml.org 
[lkml]   [2014]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net-next v2] net-sysfs: expose number of carrier on/off changes
From
Date
On Sat, 2014-03-29 at 18:36 -0700, Stephen Hemminger wrote:
> On Sat, 29 Mar 2014 09:48:35 -0700
> David Decotigny <decot@googlers.com> wrote:
>
> > This allows to monitor carrier on/off transitions and detect link
> > flapping issues:
> > - new /sys/class/net/X/carrier_changes
> > - new rtnetlink IFLA_CARRIER_CHANGES (getlink)
> >
> > Tested:
> > - grep . /sys/class/net/*/carrier_changes
> > + ip link set dev X down/up
> > + plug/unplug cable
> > - updated iproute2: prints IFLA_CARRIER_CHANGES
> > - iproute2 20121211-2 (debian): unchanged behavior
> >
> > Signed-off-by: David Decotigny <decot@googlers.com>
>
> Is there a related SNMP MIB variable? should there be?

I don't think we have any SNMP MIB variable for devices ?

It seems "ip link" is the facto standard.

(BTW we put BusyPollRxPackets in TcpExt group, this was an error IMHO)




\
 
 \ /
  Last update: 2014-03-30 04:21    [W:1.693 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site