Never thought to do that actually. No, there is currently no way to monitor link status from within the CPU unless the port is being used for something like Ethernet I/O, in which case it would start ringing up errors. Theoretically it would be possible to make the hardware do it, although I'm not sure whether it would take firmware alone or also gate array.