Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

In need of script to identify rogue processes

Status
Not open for further replies.

Tison

Programmer
May 12, 1999
216
CH
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top