How to determine JBoss PID for any JBoss version?
Issue
Multiple versions of EAP are being running that use varying versions of Java and run on different servers. The following command is being on each server to determine the PID of each JBoss instance:
/usr/bin/jps -J-Djava.io.tmpdir=/var/tmp/jboss -lv | grep -i jboss | cut -d ' ' -f 1
However, it does not return the PID for some instances.
Environment
Red Hat Enterprise Application Platform (EAP) - All versions
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.