I\'m trying to code a process monitor in bash. It should be a simple script that outputs the pid,user,ppid and args of the running processes. Something similar to this scrip