Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On CMD prompt, I am trying to list all Java processes with the CMD line arguments. In short, I want to list all Java processes which has jmxremote.port set on cmd prompt. whats the best way of doing it?

thanks

share|improve this question
add comment

migrated from stackoverflow.com Sep 11 '12 at 3:49

This question came from our site for professional and enthusiast programmers.

1 Answer

jps (from your *jdk_home/bin*) will list all the PIDS along with the "description" which is frequently, but not always, the main class. e.g.

c:\>jps
13436 Unknown
14092 Unknown
4280
16960 Jps
4284 org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
9976 org.eclipse.equinox.launcher_1.2.0.v20110502.jar
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.