List of Java processes

Jacek Koralik picture Jacek Koralik · Jun 8, 2011 · Viewed 314.8k times · Source

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.

Answer

Rich picture Rich · Jun 8, 2011

try:

ps aux | grep java

and see how you get on