Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 1998 00:07:40 +0200 (CEST)
From:      Leif Neland <leifn@internet.dk>
To:        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:  <Pine.BSF.3.96.980526000638.338B-100000@darla.swimsuit.internet.dk>
In-Reply-To: <Pine.BSI.3.95.980522213204.1161A-100000@python.shoal.net.au>

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


Leif Neland
leifn@internet.dk




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?Pine.BSF.3.96.980526000638.338B-100000>