While configuring/installing Hadoop cluster we often need to kill a Java Process/Daemon. We see Java Processes/Daemons running with jps command. Usually we kil
jps
jps -l has helped me killing the process
kill `jps -l | grep "myjarname.jar" | cut -d " " -f 1`