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
ps aux | grep java
or
$ ps -fea|grep -i java