Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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

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

You must log in to answer this question.