How can I list all Java processes in bash? I need an command line. I know there is command ps but I don\'t know what parameters I need to use.
ps
This will return all the running java processes in linux environment. Then you can kill the process using the process ID.
ps -e|grep java