https://github.com/dim13/watch
Execute program periodically, showing output fullscreen
https://github.com/dim13/watch
Last synced: 14 days ago
JSON representation
Execute program periodically, showing output fullscreen
- Host: GitHub
- URL: https://github.com/dim13/watch
- Owner: dim13
- License: isc
- Created: 2018-09-18T21:04:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-11-19T22:20:39.000Z (over 4 years ago)
- Last Synced: 2025-03-06T16:55:18.415Z (over 1 year ago)
- Language: C
- Size: 46.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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