Date: Mon, 01 May 2000 19:04:49 +0100 (BST) From: Joao Pedras <jpedras@webvolution.net> To: Lowell Gilbert <lowell@world.std.com> Cc: freebsd-questions@freebsd.org Subject: Re: rsh's -t feature Message-ID: <XFMail.000501190449.jpedras@webvolution.net> In-Reply-To: <rd67lde2mhp.fsf@world.std.com>
next in thread | previous in thread | raw e-mail | index | archive | help
hmm
I guess you are right... the 'man' really says data.
I wanted to shutdown a couple machines with a command issued from a third which
is 'directly' connected to the ups.
These two machines usually are working, but if for some reason someone
disconnects one of them and by coincidence the power fails ? The script stops
here waiting for rsh.
Any suggestions ?
Lowell Gilbert wrote:
> Joao Pedras <jpedras@webvolution.net> writes:
>
>> I am trying to use rsh's timeout feature (-t) but it
>> simply doesn't work.
>>
>> What should do the following command :
>>
>> rsh -t 2 192.168.0.20 ls
>>
>> Give up after 2 seconds ?
>>
>> What's wrong here ?
>
> I don't have an environment to actually test this, but it looks like
> it should work. Note that it's not a timeout on setting up the TCP
> connection, but on waiting for data after that. It won't help if your
> problem is a router dropping all your packets, for example, because
> rsh won't get far enough.
^\ /^
O O
----------------------------------------o00-(_)-00o--------------------------
Teamwork is essential -- it allows you to blame someone else.
-----------------------------------------------------------------------------
PGP key available upon request or may be cut at
http://pedras.webvolution.net/pgpkey.html
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000501190449.jpedras>
