Greg Lindahl lindahl at
Sat Mar 8 17:00:49 PST 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

More information about the Beowulf mailing list