//View Tip #228
Similar Tips
» Kill matching processes
» Kill matching processes without unnecessary greps and extra sh p
» Hierarchic list of processes
» Always running
» Grepping for processes


Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow


Add your comment

Comments are currently disabled
kill -9 `ps -fea | grep jav[a] | awk '{print $2}'`
kill -9 `ps -C java -o pid=`
Posted 2008-10-21 20:11:13
hey... try the following:

$ killall ProcessName

$ fuser -k `which ProcessName`
Posted 2008-10-25 18:38:46
kill -9 `pgrep java`
Posted 2010-02-02 10:23:32
if you've got pgrep, you may as well use another command in the package:

pkill -9 java
Posted 2010-06-14 20:35:30

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit