Killing a bunch of processes on *nix
Submitted by Matt Fleming on Fri, 2005-10-07 01:30.
It has always been a pain in the neck to kill a bunch of java processes that have been spawned off from some program that I have been running.. Here's how I do it now:
ps | grep java | `awk '{print "kill -9 " $1'}`
awk is a pretty cool utility.. I'm a complete novice with it, but as a parser it seems pretty powerful.
