How to stop a bunch of processes on unix fast.
I can use ps/top, kill.
If the number of processes is very large, I use shell script. Are there other ways, only one or two unix commands can do it well ?
|
|
My choice is |
|||
|
|
|
Here's a little on-line bash script I use:
I kills all processes whose name contains the first parameter (case insensitive). The breakdown of each part is:
|
|||||||||
|
|
Psdoom is really the only way to kill a process. http://psdoom.sourceforge.net/ |
|||
|
|