When running in Domain mode, there are several JBoss JVMs running. Is it possible to detect which is the PID related to one server instance ? I need to monitor a specific server through JConsole, but I'm not able to figure out which one is it.
I don't have a scenario here to try, so, could you give jps a try?
jps -lv
From the jps man page:
Maybe the arguments passed to the JVM have a hint.