How to figure out the state of a network link ...

From: Thomas Leitner <tom_at_radar.tu-graz.ac.at>
Date: Thu, 10 Apr 2003 13:27:27 +0200 (MET DST)

Hi,

I need to write a script which monitors the state of various network
links. I have an ee0 and an fta0 and see the "link up" and "link down"
messages in /var/adm/messages when the cable is plugged in and unplugged.

How can I detect the current state of the network link on an arbitrary
network interface (like ee0 or fta0). I've already searched the list
archives and Google but did not find any hint about that. If all else
fails, is this possibly available via SNMP?

BTW: this is for Tru64 4.0g!

Thanks // Tom
Received on Thu Apr 10 2003 - 11:28:08 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT