Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- old_process=$(ps -eo command)
- while true; do
- new_process=$(ps -eo command)
- diff <(echo "$old_process") <(echo "$new_process") | grep "[\>\<]" | grep -v "command" | grep -v "procmon"
- old_process=$new_process
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement