

Starfighter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2019
06:20 AM
- 9,668 Views
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
1 Reply

Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2019
01:28 PM
- 9,658 Views
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!]
[don't forget to kudo a helpful post or mark it as a solution!]
Join the discussion
You must log in to join this conversation.