FortiNAC
NOTE: FortiNAC is now named FortiNAC-F. For post-9.4 articles, see FortiNAC-F. FortiNAC is a zero-trust network access solution that provides users with enhanced visibility into the Internet of Things (IoT) devices on their enterprise networks.
mturic
Staff & Editor
Staff & Editor
Article Id 192240
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:





Check 'watch' details:




Example.
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.

In this example time is set to 5 seconds:




Comments
bmeta
Staff & Editor
Staff & Editor

Excellent. Good Job!

Contributors