Reputation: 2485
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.
Upvotes: 1
Views: 3762
Reputation: 1
In the case of domain installation, just check the file below.
In the installation directory /domain/wildfly.pid shows the PID that is running
In the case of standalone, the file should be /standalone/wildfly.pid
Upvotes: 0
Reputation: 218
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.
Upvotes: 3