Check whether the eval succeeded. If not, check $@. If it matches "Timeout", you timed out. Otherwise, some other exception was thrown.
perldoc -f alarm will shown an example.
In reply to Re: heartbeat script. Hung-server proof.
by JavaFan
in thread heartbeat script. Hung-server proof.
by ecarceller
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |