This is the simple way to find a java process on linux or mac os x. Sometime if you want “kill” a java process maybe you will like to know the process identifier (PID).
List of Java Processes On Ubuntu | MAC OS X
ps -ax | grep java ps aux | grep java ps -e | grep java ps -A | grep java ps -fea | grep -i java ps axuwww | grep java | grep -v grep
The commands in above will
- show you all processes with long lines (arg: www)
- filter (grep) only lines what contain the word java, and
- filter out the line “grep java“
Need more help? go to ubuntu community