Monitor changes on cli live

If you want to watch or monitor a certain process on the cli (to check if changes happen) you can use the „watch“ command. Fore example if you want to check if a ffmpeg process is going to start or quit use the following command:

watch -n 3 „ps afx | grep ffmpeg“

In this example the command „ps afx | grep ffmpeg“ will be refreshed every 3 seconds on the cli.

Juli 6th, 2018