From owner-freebsd-questions Mon May 25 18:48:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA22258 for freebsd-questions-outgoing; Mon, 25 May 1998 18:48:52 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA22250 for ; Mon, 25 May 1998 18:48:47 -0700 (PDT) (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id LAA24207; Tue, 26 May 1998 11:18:27 +0930 (CST) (envelope-from grog) Message-ID: <19980526111827.B24133@freebie.lemis.com> Date: Tue, 26 May 1998 11:18:27 +0930 From: Greg Lehey To: leifn@internet.dk, Andrew Perry Cc: Malte Lance , freebsd-questions@FreeBSD.ORG, Andrew MacIntyre Subject: Re: watch or monitor program? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Leif Neland on Tue, May 26, 1998 at 12:07:40AM +0200 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 26 May 1998 at 0:07:40 +0200, Leif Neland wrote: > On Fri, 22 May 1998, Andrew Perry wrote: > >>> >>> So what exactly does it "display" when it "displays w" (content, file-attribs, >>> ..) ??? >> >> it clears the screen and gives me the output of w (you know, who's logged >> in and what are they doing) and then it refreshes the display every 2 >> seconds (by default, you can change it to whatever you like) >> > > as in > while true > do > clear > w > sleep 2 > done Yes, except that this causes a lot of screen output, and it flashes. The watch program is available (including binary :-) at ftp://www.lemis.com/pub/watch.tar.gz. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message