aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 74888fc69f64e634834271e99c2e0b7cadcc96da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
WATCH(1) - General Commands Manual

# NAME

**watch** - execute program periodically, showing output fullscreen

# SYNOPSIS

**watch**
\[**-tv**]
\[**-n** *time*]
\[*command*]

# DESCRIPTION

The
**watch**
utility runs a
*command*
repeatedly and displays its output fullscreen.
This allow you to watch an output of the
*command*
as it changes.
If the
*command*
is absent,
**watch**
will prompt for it.

The options are as follows:

**-n** *time*

> Set delay between screen updates in seconds.
> The default value is 2 seconds.

**-t**

> Disable output of the title bar.

**-h**

> Display usage and terminate.

**Watch**
will terminate with the keyboard interrupt
('^C')

# EXAMPLE

**watch**
\-n 1 ps

# HISTORY

The original
**watch**
was written by Tony Rems <rembo@unisoft.com> in 1991,
with mods and corrections by Francois Pinard.
It was rewritten completly from scratch by Dimitri Sokolyuk
<demon@dim13.org> in 2003.

OpenBSD 6.5 - December 25, 2004