I write a lot of shell (Korn) scripts for system monitoring. We have a SAN (storage area network) and we use NIS style password authentication. The user(s) running these scripts requires the SAN for password authentication.
Anyway, all of my scripts use a ping to check if the system is up before it wastes time with an rsh. But there might be a particular box that is powered on and is on the network (viz. the ping is successful) but it is not logged onto the SAN (viz. unsuccessful rsh). I think RSH times out after something like 3 minutes...
I checked the man pages and I see no way to specify a specific time out for rsh. Is there a way to do this? Or can anyone suggest any alternatives?
Xhonzi
Anyway, all of my scripts use a ping to check if the system is up before it wastes time with an rsh. But there might be a particular box that is powered on and is on the network (viz. the ping is successful) but it is not logged onto the SAN (viz. unsuccessful rsh). I think RSH times out after something like 3 minutes...
I checked the man pages and I see no way to specify a specific time out for rsh. Is there a way to do this? Or can anyone suggest any alternatives?
Xhonzi