About 5 years ago, I built a program called 'watch' from sources off the
net, on our Ultrix installation. It's simply a curses program that runs a
"command" every N seconds refreshing the screen between updates. I'd
really like to use this program again under DU... but, of course, I can't
find the source anywhere! Does anyone out there have a pointer to where I
can find it. I've done some web searches, and scanned over
comp.sources.unix but still came up empty. If someone knows of a similar
program let me know too. Thanks.
Except from the man page:
NAME
watch - watch a program with update intervals
SYNOPSIS
watch [-n] seconds program [ args ... ]
DESCRIPTION
watch is a curses(3X) based program that allows
you to watch a program as it changes. By default, it
updates itself every 2 seconds. You can specify the number
of seconds with the -n option. The curses packages allows
for quick updating of the screen through cursor
optimization. The program will end with a keyboard
interrupt, which will leave the screen in a
valid yet cleared state.
EXAMPLE
try:
On BSD: watch -n 1 ps u
On System V: watch -n 1 ps -f
SEE ALSO
curses(3X)
Printed 11/8/90 1
_____________________________________________________________________________
Andrew "Alf" Leahy, phone: 047 360385
Unix Administrator, mailto:alf_at_st.nepean.uws.edu.au
Systems & Ops, TASS, CCD, UWS Nepean
http://www.st.nepean.uws.edu.au/~alf/
Received on Wed Aug 13 1997 - 03:15:48 NZST