Friday, January 31, 2014

Linux Kill process by searching name

I want to kill process that have "python cc_test_client",

#kill `ps aux | grep -i "python cc_test_client" | cut -d " " -f8`


so "python cc_test_client" can be replace with whatever you want.

No comments:

Post a Comment