Skip to main content

Cornelis Technical Documentation

Name

watch — Periodically executes a specified CLI command.

Syntax

watch [-n <TIME>] [<CMD>]

Options

-n <TIME>

Sets the interval between each command execution, in seconds.

<CMD>

Specifies the command to be executed repeatedly.

Examples

watch -n 5 hardware
watch query

Notes

To terminate the command, press CTRL+C.