From owner-freebsd-questions Mon May 1 11: 5: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from listsvr2.telepac.pt (mail8.telepac.pt [194.65.3.41]) by hub.freebsd.org (Postfix) with ESMTP id AD6A737C023 for ; Mon, 1 May 2000 11:04:51 -0700 (PDT) (envelope-from jpedras@webvolution.net) Received: from manecao.tafkap.priv ([213.13.96.236]) by listsvr2.telepac.pt (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id pt; Mon, 1 May 2000 19:07:53 +0100 Content-Length: 1386 Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 01 May 2000 19:04:49 +0100 (BST) From: Joao Pedras To: Lowell Gilbert Subject: Re: rsh's -t feature Cc: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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