Greg Lindahl lindahl at
Sat Mar 8 20:00:49 EST 2003

> You can easily write a script that monitors the exit status of
>    mii-diag --status eth0
> or the output of
>    mii-diag --watch eth0

On this page, in the Network section, is an example of such a script:

In this case it's a clever laptop hack that starts your dhcp client
whenever the link comes up. For non-laptops, most ethernet drivers
print something in /var/log/messages and/or dmesg when the link
comes up, so you can just look at your cluster logs and see if
your switch or cables are being flakey over the long run.

-- greg

Beowulf mailing list, Beowulf at
To change your subscription (digest mode or unsubscribe) visit

More information about the Beowulf mailing list