'jps' - JVM Process Status Tool

This section describes the JVM process status tool, 'jps' for listing JVM processes on local and remote machines.

"jps": A Java tool that lists all JVM processes on the local machine or a remote machine. "jps" tool is distributed as part of the Sun JDK package and represented by the \Progra~1\java\jdk1.8.0\bin\jps.exe program file. "jps" can be executed with the following syntax:

jps [options] [hostid]

where "options" is a list of options and "hostid" is the host identifier of a remote machine.

"jps" options are listed below:

You don't need to use the "hostid" command argument, if you want to list JVM processes on the local machine. But to list JVM processes on a remote, you need to use "hostid" to specify how to connect to the remove machine. The "hostid" is a string with the following syntax:


    The communications protocol. The default protocol is "rmi".

    A hostname or IP address indicating the remote host.
    The default port for communicating with the remote server. 
    The default port is the RMI registry port (1099).
    The treatment of this parameter depends on the implementation. 
    For the "rmi" protocol, this parameter is a string representing 
    the name of the  RMI remote object on the remote host.  

See sections below for tutorial examples on how to use "jps" to list JVM processes on the local or a remote machine.

Last update: 2015.

Table of Contents

 About This Book

 Java Tools Terminology

 Installing Java 8 on Windows

 'javac' - The Java Program Compiler

 'java' - The Java Program Launcher

 'jdb' - The Java Debugger

 'jconsole' - Java Monitoring and Management Console

'jstat' - JVM Statistics Monitoring Tool

'jps' - JVM Process Status Tool

 Listing JVM Processes on the Local Machine with "jps"

 'jstatd' - JVM Remote Monitoring Server

 Starting 'jstatd' with a Security Policy File

 Connecting to 'jps' to Remote 'jstatd'

 'jstat' Command Options and Parameters

 Garbage Collection Testing Program

 'jstat -gcutil' - Garbage Collection Statistics

 Accessing Remote JVM Processes with 'jstat'

 JVM Troubleshooting Tools

 jvisualvm (Java VisualVM) - JVM Visual Tool

 'jar' - The JAR File Tool

 'javap' - The Java Class File Disassembler

 'keytool' - Public Key Certificate Tool

 'native2ascii' - Native-to-ASCII Encoding Converter

 Outdated Tutorials


 PDF Printing Version