Get Java process id

pgrep java
#OR
#provided by JDK
jps -l
#OR
ps -el | grep java
#OR
jcmd

Comments