[jopr-dev] jps

John Mazzitelli mazz at redhat.com
Sat Feb 14 13:10:26 EST 2009


Found a nice nugget today....

Java has a "jps" utility. run it and it dumps the PIDs of all JVMs 
running, along with the MainClass. Helps find the agent really quick:

C:\mazz\source>jps
6112 org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
3988 WrapperSimpleApp
1720 Jps
2684 AgentMain


6112 is my eclipse. 3988 is my server. 1720 is obviously the jps utility 
command I just ran. And 2684 is my agent.



More information about the jopr-dev mailing list