Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 1998 11:18:27 +0930
From:      Greg Lehey <grog@lemis.com>
To:        leifn@internet.dk, Andrew Perry <andrew@python.shoal.net.au>
Cc:        Malte Lance <malte@webmore.com>, freebsd-questions@FreeBSD.ORG, Andrew MacIntyre <andymac@bullseye.apana.org.au>
Subject:   Re: watch or monitor program?
Message-ID:  <19980526111827.B24133@freebie.lemis.com>
In-Reply-To: <Pine.BSF.3.96.980526000638.338B-100000@darla.swimsuit.internet.dk>; from Leif Neland on Tue, May 26, 1998 at 12:07:40AM %2B0200
References:  <Pine.BSI.3.95.980522213204.1161A-100000@python.shoal.net.au> <Pine.BSF.3.96.980526000638.338B-100000@darla.swimsuit.internet.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980526111827.B24133>