Watch a Process

Categories CLI

Watch will run the specified command repeatedly (by default, every two seconds) and display the output so you can watch it change over time.

watch -d -n 15 ps auxf | grep cpbackup -d differences -n 15 =#seconds

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.