Description
This article describes how to use 'watch' from CLI.
This allows to watch the program output change over time.
Solution
Connect to FortiNAC using a SSH terminal:






This article describes how to use 'watch' from CLI.
This allows to watch the program output change over time.
Solution
Connect to FortiNAC using a SSH terminal:

Check 'watch' details:

Example.
Run 'watch jps':
Run 'watch jps':


Use Ctrl+c to get CLI > again.
By default, the program runs every 2 seconds; use '-n' or '--interva'l to specify a different interval.
By default, the program runs every 2 seconds; use '-n' or '--interva'l to specify a different interval.
In this example time is set to 5 seconds:


Labels:
Comments