cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
jeesshnasree Flight Engineer
Flight Engineer

how to find JBOSS EAP JVM PID information location and log name

Hi Team,

 

how to find the JVM procees id on JBOSS 6/7 EAP verion  and could you please share the pid path location .

means to check stop and start the JVM status . 

2) how to grep xxxx.gz file 

Labels (1)
0 Kudos
1 Reply
Moderator
Moderator

Re: how to find JBOSS EAP JVM PID information location and log name

Hi, @jeesshnasree,

Unless the EAP process was started using systemd, there is no PID file, just a java process running the jboss-modules.jar JAR file.

So you can find out what your EAP instance's process is using any of the ps utils (ps, pgrep, etc.), for example:

$ pgrep -f jboss-modules.jar
3456

Note that if you have multiple instances running, you will see multiple PIDs in the output, and to be able to better distinguish them, it may make sense to add the "-l" option, which will also display the command line used to start the instance:

$ pgrep -fl jboss-modules.jar
3456 /opt/eap/bin/standalone.sh ...

Cheers,
Grega

A black cat crossing the street signifies that the animal is going somewhere.
[don't forget to kudo a helpful post or mark it as a solution!]
Reply
Loading...
Join the conversation
You must log in to join this conversation.