JPS Virtual machine Process Status Tool

Source: Internet
Author: User
Tags unique id zookeeper

JPS (JVM Process Status Tool)

The JPS tool lists the running virtual machine processes, and displays the virtual machine execution main class name and the local virtual machine unique ID of those processes (locally vsan identifier,lvmid).

JPS command format:

  jps [ options ] [ hostid ]

HostID host name registered in the RMI registry
Option:

Options function
-Q Output Lvmid only
-L Output the full name of the main class
-M Output virtual machine process boot number passed to the main () function parameter
-V JVM parameters when the output virtual machine process starts

JPS Implementation Examples:

    • Jps-q

       ~ jps -q28322306
    • Jps-l

      ~ jps -l3492 com.intellij.rt.execution.application.AppMain3483 org.apache.zookeeper.server.quorum.QuorumPeerMain
    • Jps-m

      ~ jps -m3492 AppMain com.alibaba.dubbo.demo.provider.Provider3483 QuorumPeerMain /Users/wolf/usr/local/zookeeper-3.4.6/bin/../conf/zoo.cfg

JPS Virtual machine Process Status Tool

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.