Java JPS Command detailed

Source: Internet
Author: User

JPS Name: Jps-java Virtual Machine Process Status Tool

command usage: JPS [Options] [HostID]

Options: Command option to control the output format

HostID: Specify a specific host, which can be an IP address and a domain name, or specify a specific protocol, port.

[Protocol:] [[//]hostname] [:p ORT] [/ServerName]

function Description: JPS is the process used to view the hotspot virtual machines that have access to them. When HostID is not specified, the native JVM process is viewed by default, and no person views the JVM process on the specified HostID machine, at which point the HostID machine must turn on the JSTATD service. JPS can list JVM process Lvmid, main class class name, main function parameter, JVM parameter, jar name and other information.

Command options and Features:

When option is not added, the VM designator symbol and the simple class or jar name are listed by default.

-P: Displays only VM markings, does not display Jar,class, main parameters and other information.

-M: Outputs the parameters passed in by the main function. The following hello is the parameter entered from the command line when executing the program

-L: The full package name or jar full name of the output application main class.

-V: Lists JVM parameters,-xms20m-xmx50m is the JVM parameter specified by the initiator

-V: Outputs the JVM parameters specified by. Hotsportrc or-xx:flags=<filename>

-joption: Pass parameters to the Java lancher called by Javac.

Java JPS Command detailed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.