Table of Contents

NAME

watch - watch a program with update intervals

SYNOPSIS

watch [-n] seconds program [ args ... ]

DESCRIPTION

watch is a curses(3X) based program that allowsyou to watch a program as it changes. By default, itupdates itself every 2 seconds. You can specify the numberof seconds with the -n option. The curses packages allowsfor quick updating of the screen through cursoroptimization. The program will end with a keyboardinterrupt, which will leave the screen in avalid 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


Table of Contents


www.fiveanddime.net


Google
Web www.fiveanddime.net