I have a script which accesses a bunch of other machines using:
@list = `ssh machine "ls path"`;
The problem is that while most of the machines are stable, some might not be running on a particular day. Is there a way to set a timer to send a signal that I can catch if the `ssh` hasn't returned in, say, ten seconds so that the script doesn't wait for the three minutes it'd normally take to time out?
Thanks,
Sean.
In reply to Timing out ``? by slgilley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |