[BusyBox] ethernet interface monitor?

Marc Karasek marc_karasek at ivivity.com
Mon Jan 26 16:15:52 UTC 2004


One way would be thru the interrupt handler.  If the hardware is setup
so that the PHY interrupt is being generated thru the MAC or seperately,
it will trip on any link change (up/down).  You could then do an
interface thru proc to handle the event counts.  

On Mon, 2004-01-26 at 10:29, Pete Flugstad wrote:
> Greetings,
> 
>    I think this has been discussed on this list before, but my quick 
> searches of the list didn't turn up anything.
> 
>    I'm looking for a way to monitor the up/down status of an Ethernet 
> interface.  I recall seeing something, "ifmon" or something like that, 
> that was basically just a very simple daemon program that does this?
> 
>    Anyway, I know I can repeatedly poll IFFLAGS and just watch for 
> up/down transitions, but I was under the impression that there was a 
> more efficient (i.e. event style) type interface available.  I was 
> hoping this "ifmon" program would show me how to do that.
> 
> Thanks,
> Pete
-- 
**************************
Marc Karasek
Sr. Firmware Engineer
iVivity Inc.
5555 Oakbrook Parkway 
Suite 280 
Norcross, Ga 30092
678.990.1550 x238
Fax 678.990.1551
**************************




More information about the busybox mailing list