Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 1997 04:45:56 +1100
From:      davidn@unique.usn.blaze.net.au (David Nugent)
To:        freebsd@trogon.kiwi.net ("Christopher H. Taylor")
Cc:        freebsd-questions@freebsd.org
Subject:   Re: watch command?
Message-ID:  <Mutt.19970122044556.davidn@labs.blaze.net.au>
In-Reply-To: <Pine.NEB.3.95.970121090946.1413B-100000@trogon.kiwi.net>; from "Christopher H. Taylor" on Jan 21, 1997 09:10:45 -0800
References:  <Pine.NEB.3.95.970121090946.1413B-100000@trogon.kiwi.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"Christopher H. Taylor" writes:
> Is there a command equivalent to the Linux 'watch' command,
> that will poll a particular command every n seconds. Such as
> top polls system resources.

No.

systat(1) offers similar functionality but doesn't offer
running external programs as an option, only a limited set of
internal functions. Writing something similar to 'watch' (that
is, the "Linux" watch, not the FreeBSD watch which is
something completely different :-)) has been on my "todo" list
for some time. I quite liked being able to run it in an xterm
and keep an eye on, say 'w' and tail -f on one or more logfiles
all in the same window.

Regards,

David Nugent - Unique Computing Pty Ltd - Melbourne, Australia
Voice +61-3-9791-9547  Data/BBS +61-3-9792-3507  3:632/348@fidonet
davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/



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