1825771 Members
2301 Online
109687 Solutions
New Discussion

Re: remsh timeout

 
SOLVED
Go to solution
Hamerlik Christophe
Occasional Advisor

remsh timeout

Hi,

Is it possible to configure the timeout of the remsh command ?

Regards.
I tried but...
4 REPLIES 4
Bill McNAMARA_1
Honored Contributor

Re: remsh timeout

You could attempt changing the tcp wait state..

#ndd -get /dev/tcp tcp_time_wait_interval


will show the default setting, typically 60000 (60s) to change use


#ndd -set /dev/tcp tcp_time_wait_interval 30000

for example..

Later,
Bill
It works for me (tm)
Pierce Byrne_1
Frequent Advisor

Re: remsh timeout

If you are trying to cut down on time to run a command in the event of a host not being there you could try a ping host -n 1 and check the result of this before issuing the remsh.
Hamerlik Christophe
Occasional Advisor

Re: remsh timeout

Thanks,

I have just changed the tcp time_wait... but it doesn't look to change something.

I have already thought of the solution with ping. But I need to know very fast if the host is up or down on the network and so the timeout of "ping host -n 1" is too long for my needs.

Regards.
I tried but...
Bill McNAMARA_1
Honored Contributor
Solution

Re: remsh timeout

check via netstat -an | grep ip the ports states.. when you figure out what state the port is in, you can then use ndd to tune better.

Later,
Bill
It works for me (tm)