# watch
- [Command Function](#section20643141481314)
- [Syntax](#section1075441721316)
- [Parameter Description](#section1472810220135)
- [Usage](#section186772414131)
- [Example](#section4764192791314)
- [Output](#section5791253155517)
## Command Function
This command is used to periodically monitor the execution result of a command.
## Syntax
watch
watch \[_-c/-n/-t/--count/--interval/-no-title/--over_\] \[_command_\]
## Parameter Description
**Table 1** Parameters
Parameter
|
Description
|
Default Value
|
Value Range
|
-c / --count
|
Indicates the number of times that the command is executed.
|
0xFFFFFF
|
(0, 0xFFFFFF]
|
-n / --interval
|
Indicates the interval for periodically running the command, in seconds.
|
1s
|
(0, 0xFFFFFF]
|
-t / -no-title
|
Disables time display on the top.
|
N/A
|
N/A
|
command
|
Indicates the command to be monitored.
|
N/A
|
N/A
|
--over
|
Stops the current command monitoring.
|
N/A
|
N/A
|
## Usage
You can run the **watch --over** command to stop the currently running command monitoring.
## Example
Enter **watch -n 2 -c 6 task**.
## Output
**Figure 1** **task** command monitoring result

> **NOTE:**
>In this example, the **task** command has been executed every 2 seconds for six times, and the preceding figure shows the output of the last execution.