Whenever I type killall java -9 ,all java process is killed, even if i change the process name. So Is there an way to protect the java process being killed by 'killall java -9'
migrated from stackoverflow.com Aug 29 '12 at 1:50
This question came from our site for professional and enthusiast programmers.
The simple solution is to run the process with a different user. Then, you (as your current user) would not have permission to kill all processes called
So this is my output when I try
I cannot kill a