I am trying to find the PID of a java webapp on a Mac. More specifically, I am trying to find the PID for a jetty webapp running on my Desktop. I have tried using Activity monitor and searched online all to no avail.
you can use jps, the Java Process Status tool:
jps
which will show you, for example:
13651 RemoteMavenServer
on my mac, jps lives in:
/usr/bin/jps
Open a terminal and type jps -v
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With