>_ linuxcommand.dev
Startseite watch
Monitoring

watch

Run a command repeatedly and display fresh output.

Syntax
$watch [options] <command>
Optionen
-n
-d
-t
Examples
Examples
$watch df -h
Examples
$watch -n 5 "ps aux | grep process"
Examples
$watch -d "netstat -tuln"
Typical use cases
Monitor system status
Track changes
Monitoring scripts
Note Default interval is 2 seconds. Use -n to customize.
Export