I am in need of a script to identify processes that are left behind when a user terminates his connection.
I am trying to match the "ps -ef" output to the "who -u" and kill those that do not have a who -u entry.
Remember that the ps -ef shows subprocesses so I need to trace them back to the original login.
I am trying to match the "ps -ef" output to the "who -u" and kill those that do not have a who -u entry.
Remember that the ps -ef shows subprocesses so I need to trace them back to the original login.