Killing run away processes
Neil Rickert
rickert at mp.cs.niu.edu
Sun Oct 7 10:31:33 AEST 1990
In article <708 at VAX1.CC.UAKRON.EDU> r3jjs at VAX1.CC.UAKRON.EDU (Jeremy J Starcher) writes:
>kill -9 `ps -aux | grep $USER | grep -v -e -csh | grep -v 'sh zot' | cut -c10-15 | paste -s -`
When our current system was installed about 5 years ago, someone wrote what
he thought was a simple program:
It and all of its children finished up in infinite forking loops.
Have you tested your script on such a beast?
--
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
Neil W. Rickert, Computer Science <rickert at cs.niu.edu>
Northern Illinois Univ.
DeKalb, IL 60115. +1-815-753-6940
More information about the Comp.unix.shell
mailing list