1.

How Do You Check Your Java Process Is Running On Linux?

Answer»

You can CHECK by using "PS" command and "grep" command e.g. ps -ef | grep "myprocess". The keyword which you use with grep for SEARCH can be anything unique to your process, something which APPEARS in its command line e.g. name of the CLASS which implements the main method. You can also do "ps -ef | grep java" to list all Java process.

You can check by using "ps" command and "grep" command e.g. ps -ef | grep "myprocess". The keyword which you use with grep for search can be anything unique to your process, something which appears in its command line e.g. name of the class which implements the main method. You can also do "ps -ef | grep java" to list all Java process.



Discussion

No Comment Found