View Java Process Information--JPS command details

Source: Internet
Author: User
Tags zookeeper log4j

Format
[[email protected] ~]# jps -hillegal argument: -husage: jps [-help]       jps [-q] [-mlvV] [

Main parameter explanation:

Options function
-Q Output only Lvmid, omit the name of the main class
-M Arguments to the main () function when output is started
-L Output main class full class name
-V Output JVM Parameters
Common

Parameters for output main class and main () function

[Email protected]:[/root]jps-l-m4768 org.apache.flume.node.application-f./win/win.conf-n win31362 izone-msg-sender-0.0.3-product.jar10787 Org.apache.catalina.startup.Bootstrap start23875 com.tfp.report-1.1.3.jar10731 Org.apache.catalina.startup.Bootstrap start27307 Org.apache.catalina.startup.Bootstrap start23436 Org.apache.zookeeper.server.quorum.QuorumPeerMain config/ zookeeper.properties29327 Kafka. Kafka config/server.properties28017 org.apache.catalina.startup.Bootstrap start8273 sun.tools.jps.jps-l-m4754 Org.apache.flume.node.application-f./click/click.conf-n click4756 org.apache.flume.node.application-f./download/ Download.conf-n download4758 org.apache.flume.node.application-f./forward/forward.conf-n forward27447 Org.apache.catalina.startup.Bootstrap start4760 org.apache.flume.node.application-f./imp/imp.conf-n imp23641 izone-0.0.2-product.jar4762 org.apache.flume.node.application-f./install/install.conf-n install24155 Org.apache.catalina.startup.BootstrAP start27579 org.apache.catalina.startup.Bootstrap start4764 org.apache.flume.node.application-f./request/ Request.conf-n Request

Output main class and JVM parameters

[Email protected]:[/root]jps-l-v8352 Sun.tools.jps.jps-denv.class.path=/usr/java/jdk1.8.0_91/lib/tools.jar :/usr/java/jdk1.8.0_91/lib/dt.jar:-dapplication.home=/usr/java/jdk1.8.0_91-xms8m4768 org.apache.flume.node.application-xmx20m-dflume.log.dir=./win/logs/-xms512m-xmx1024m-djava.library.path=31362 izone-msg-sender-0.0.3-product.jar10787 org.apache.catalina.startup.bootstrap-djava.util.logging.config.file=/ Data/tfp/tomcat-demo-11003/conf/logging.properties-djava.util.logging.manager= Org.apache.juli.classloaderlogmanager-xx:permsize=64m-xx:maxpermsize=500m-xms1024m-xmx10000m-duser.timezone= asia/shanghai-djava.endorsed.dirs=/data/tfp/tomcat-demo-11003/endorsed-dcatalina.base=/data/tfp/ Tomcat-demo-11003-dcatalina.home=/data/tfp/tomcat-demo-11003-djava.io.tmpdir=/data/tfp/tomcat-demo-11003/temp- dlog4jpath=/data/ssp3/log2-dlog4jindex=1100323875 com.tfp.report-1.1.3.jar10731 Org.apache.catalina.startup.bootstrap-djava.util.logging.config.file=/data/tfp/tomcat-deMo-11016/conf/logging.properties-djava.util.logging.manager=org.apache.juli.classloaderlogmanager-xx:permsize= 64m-xx:maxpermsize=500m-xms1024m-xmx10000m-duser.timezone=asia/shanghai-djava.endorsed.dirs=/data/tfp/ tomcat-demo-11016/endorsed-dcatalina.base=/data/tfp/tomcat-demo-11016-dcatalina.home=/data/tfp/ tomcat-demo-11016-djava.io.tmpdir=/data/tfp/tomcat-demo-11016/temp-dlog4jpath=/data/ssp3/log2-dlog4jindex= 1101627307 org.apache.catalina.startup.bootstrap-djava.util.logging.config.file=/data/tfp/tomcat-tfp-11009/conf /LOGGING.PROPERTIES-DJAVA.UTIL.LOGGING.MANAGER=ORG.APACHE.JULI.CLASSLOADERLOGMANAGER-XX:PERMSIZE=64M-XX: maxpermsize=500m-xms1024m-xmx10000m-duser.timezone=asia/shanghai-djava.endorsed.dirs=/data/tfp/ tomcat-tfp-11009/endorsed-dcatalina.base=/data/tfp/tomcat-tfp-11009-dcatalina.home=/data/tfp/tomcat-tfp-11009- djava.io.tmpdir=/data/tfp/tomcat-tfp-11009/temp-dlog4jpath=/data/ssp3/logs-dlog4jindex=1100923436 Org.apache.zookeeper.server.quorum.QuorumPeermain-xmx512m-xms512m-xx:+useg1gc-xx:maxgcpausemillis=20-xx:initiatingheapoccupancypercent=35-xx:+ disableexplicitgc-djava.awt.headless=true-xloggc:/data/kafka_2.12-0.10.2.0/bin/. /logs/zookeeper-gc.log-verbose:gc-xx:+printgcdetails-xx:+printgcdatestamps-xx:+printgctimestamps- Dcom.sun.management.jmxremote-dcom.sun.management.jmxremote.authenticate=false- dcom.sun.management.jmxremote.ssl=false-dkafka.logs.dir=/data/kafka_2.12-0.10.2.0/bin/. /logs-dlog4j.configuration=file:bin/. /config/log4j.properties29327 Kafka. kafka-xmx1g-xms1g-xx:+useg1gc-xx:maxgcpausemillis=20-xx:initiatingheapoccupancypercent=35-xx:+ disableexplicitgc-djava.awt.headless=true-xloggc:/data/kafka_2.12-0.10.2.0/bin/. /logs/kafkaserver-gc.log-verbose:gc-xx:+printgcdetails-xx:+printgcdatestamps-xx:+printgctimestamps- Dcom.sun.management.jmxremote-dcom.sun.management.jmxremote.authenticate=false- dcom.sun.management.jmxremote.ssl=false-dkafka.logs.dir=/data/kafka_2.12-0.10.2.0/bin/. /logs-dlog4j.configuration=file:bin/. /config/log4j.properties

View Java Process Information--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.