Synopsis jps [ options ] [ hostname[:port ] ]Description jps
lists the Java processes running on the local host or on the specified remote host. If a remote host is specified, it must be running the jstatd daemon. For each Java process, it displays a process id and names the class or JAR file that the process is executing. Process ids are used by a number of other Java tools, such as jconsole , jstat , and jmap .Options The options below alter the default jps display. The single-letter options, except for -q, may be combined into a single command-line argument, such as -lmv:-help Displays a usage message.-l Lists the full package name of the main class or the full path of the JAR file running in each Java process.-m Lists the arguments passed to main( ) method of each Java process.-q Lists only Java process identifiers, without application name or any additional information.-v Lists arguments passed to the Java interpreter for each Java process.-V Lists arguments passed to the interpreter through a flags file such as .hotspotrc .See also jstatd |