虚拟机工具-jinfo
jinfo:Java配置信息工具功能描述jinfo(Configuration Info for Java)的作用是实时地查看和调整虚拟机各项参数。使用jps命令的-v参数 可以查看虚拟机启动时显式指定的参数列表,但如果想知道未被显式指定的参数的系统默认值, 就只能使用jinfo的-flag选项进行查询了jinfo还可以使用-sysprops选项把虚拟机进程的 System.getProperti
jinfo:Java配置信息工具
功能描述
jinfo(Configuration Info for Java)的作用是实时地查看和调整虚拟机各项参数。 使用jps命令的-v参数 可以查看虚拟机启动时显式指定的参数列表,但如果想知道未被显式指定的参数的系统默认值, 就只能使用jinfo的-flag选项进行查询了 jinfo还可以使用-sysprops选项把虚拟机进程的 System.getProperties()的内容打印出来。 |
jinfo命令格式
jinfo [option] pid |
jinfo工具主要选项
-flag <name> 打印指定name的JVM flag -flag [+|-]<name> 启用或者禁用指定name的JVM flag -flag <name>=<value> 设置指定名称的name flag为给定的值 -flags 打印JVM flags -sysprops 打印Java系统属性 <no option> 不指定任何option,则打印出所有的JVM flags和sysprops -h | -help 打印帮助信息 |
Example
jinfo -flag <name> : 打印指定name的JVM flag
C:\Users\li>jinfo -flag UseConcMarkSweepGC 6160
-XX:+UseConcMarkSweepGC
C:\Users\li>jinfo -flag UseG1GC 6160
-XX:-UseG1GC
jinfo -flag [+|-] <name>: 启用或者禁用指定name的JVM flag
首先查看进程11712带有的启动参数
C:\Users\li>jps -v
11712 DxhDeliveryWebApplication -XX:+PrintGCDetails -XX:TieredStopAtLevel=1 -Xverify:none -Dspring.output.ansi.enabled=always -javaagent:D:\software\IntelliJ IDEA 2017.1.5\lib\idea_rt.jar=56375:D:\software\IntelliJ IDEA 2017.1.5\bin -Dfile.encoding=UTF-8
将PrintGCDetails 打印GC信息去掉,什么都不返回代表已经成功去掉了
jinfo -flag -PrintGCDetails 11712
之后查看已经没有了 ,再次添加后又有了
C:\Users\li>jinfo -flag PrintGCDetails 11712
-XX:-PrintGCDetails
C:\Users\li>jinfo -flag +PrintGCDetails 11712
C:\Users\li>jinfo -flag PrintGCDetails 11712
-XX:+PrintGCDetails
注意:
1、如果运行过程中,通过jinfo修改了,则修改后的值只能通过jinfo看到,jps是看不到的,jps命令只能看到启动时的jvm参数。
2、很多运行参数是不能调整的,如果出现这种异常,说明不能调整:
C:\Users\li> jinfo -flag SurvivorRatio=7 11712
Exception in thread "main" com.sun.tools.attach.AttachOperationFailedException: flag 'SurvivorRatio' cannot be changed
at sun.tools.attach.WindowsVirtualMachine.execute(WindowsVirtualMachine.java:117)
at sun.tools.attach.HotSpotVirtualMachine.executeCommand(HotSpotVirtualMachine.java:261)
at sun.tools.attach.HotSpotVirtualMachine.setFlag(HotSpotVirtualMachine.java:234)
at sun.tools.jinfo.JInfo.flag(JInfo.java:134)
at sun.tools.jinfo.JInfo.main(JInfo.java:81)
-flag <name>=<value>: 设置指定名称的name flag为给定的值
设置指定名称的name flag为给定的值,类似上述异常的操作方式
jinfo -sysprops : 打印java系统属性
C:\Users\li>jinfo -sysprops 11712
Attaching to process ID 11712, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.45-b02
spring.output.ansi.enabled = always
java.runtime.name = Java(TM) SE Runtime Environment
java.vm.version = 25.45-b02
sun.boot.library.path = D:\software\jdk1.8\jre\bin
java.vendor.url = http://java.oracle.com/
java.vm.vendor = Oracle Corporation
path.separator = ;
file.encoding.pkg = sun.io
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
sun.os.patch.level =
sun.java.launcher = SUN_STANDARD
user.script =
user.country = CN
user.dir = E:\idea workspace\dxh-delivery
java.vm.specification.name = Java Virtual Machine Specification
PID = 11712
java.runtime.version = 1.8.0_45-b15
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
os.arch = amd64
java.endorsed.dirs = D:\software\jdk1.8\jre\lib\endorsed
line.separator =
java.io.tmpdir = C:\Users\li\AppData\Local\Temp\
java.vm.specification.vendor = Oracle Corporation
user.variant =
os.name = Windows 8.1
sun.jnu.encoding = GBK
java.library.path = D:\software\jdk1.8\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\software\Git\Git\cmd;E:\apache-maven-3.5.2\bin;D:\software\Notepad++;D:\software\jdk1.8\bin;E:\apache-maven-3.5.2\bin;C:\Users\li\AppData\Local\Microsoft\WindowsApps;;.
spring.beaninfo.ignore = true
java.specification.name = Java Platform API Specification
java.class.version = 52.0
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
os.version = 6.3
user.home = C:\Users\li
user.timezone = Asia/Shanghai
catalina.useNaming = false
java.awt.printerjob = sun.awt.windows.WPrinterJob
file.encoding = UTF-8
java.specification.version = 1.8
catalina.home = C:\Users\li\AppData\Local\Temp\tomcat.8135028225072562445.8088
user.name = xingyuchao
java.class.path = D:\software\jdk1.8\jre\lib\charsets.jar;D:\software\jdk1.8\jre\lib\deploy.jar;D:\software\jdk1.8\jre\lib\ext\access-bridge-64.jar;D:\software\jdk1.8\jre\lib\ext\cldrdata.jar;D:\software\jdk1.8\jre\lib\ext\dnsns.jar;D:\software\jdk1.8\jre\lib\ext\jaccess.jar;D:\software\jdk1.8\jre\lib\ext\jfxrt.jar;D:\software\jdk1.8\jre\lib\ext\localedata.jar;D:\software\jdk1.8\jre\lib\ext\nashorn.jar;D:\software\jdk1.8\jre\lib\ext\sunec.jar;D:\software\jdk1.8\jre\lib\ext\sunjce_provider.jar;D:\software\jdk1.8\jre\lib\ext\sunmscapi.jar;D:\software\jdk1.8\jre\lib\ext\sunpkcs11.jar;D:\software\jdk1.8\jre\lib\ext\zipfs.jar;D:\software\jdk1.8\jre\lib\javaws.jar;D:\software\jdk1.8\jre\lib\jce.jar;D:\software\jdk1.8\jre\lib\jfr.jar;D:\software\jdk1.8\jre\lib\jfxswt.jar;D:\software\jdk1.8\jre\lib\jsse.jar;D:\software\jdk1.8\jre\lib\management-agent.jar;D:\software\jdk1.8\jre\lib\plugin.jar;D:\software\jdk1.8\jre\lib\resources.jar;D:\software\jdk1.8\jre\lib\rt.jar;E:\idea workspace\dxh-delivery\dxh-delivery-web\target\classes;E:\idea workspace\dxh-delivery\dxh-delivery-service\target\classes;E:\idea workspace\dxh-delivery\dxh-delivery-core\target\classes;E:\idea workspace\dxh-delivery\dxh-delivery-common\target\classes;E:\repository\redis\clients\jedis\2.9.0\jedis-2.9.0.jar;E:\repository\org\apache\commons\commons-pool2\2.5.0\commons-pool2-2.5.0.jar;E:\repository\com\alibaba\fastjson\1.2.38\fastjson-1.2.38.jar;E:\repository\org\apache\httpcomponents\httpclient\4.3.1\httpclient-4.3.1.jar;E:\repository\org\apache\httpcomponents\httpcore\4.4.9\httpcore-4.4.9.jar;E:\repository\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;E:\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;E:\repository\commons-lang\commons-lang\2.5\commons-lang-2.5.jar;E:\repository\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;E:\repository\commons-beanutils\commons-beanutils\1.9.1\commons-beanutils-1.9.1.jar;E:\repository\commons-io\commons-io\2.5\commons-io-2.5.jar;E:\repository\org\apache\commons\commons-lang3\3.6\commons-lang3-3.6.jar;E:\idea workspace\dxh-delivery\dxh-delivery-dal\target\classes;E:\repository\mysql\mysql-connector-java\5.1.46\mysql-connector-java-5.1.46.jar;E:\repository\org\mybatis\spring\boot\mybatis-spring-boot-starter\1.3.2\mybatis-spring-boot-starter-1.3.2.jar;E:\repository\org\springframework\boot\spring-boot-starter-jdbc\2.0.1.RELEASE\spring-boot-starter-jdbc-2.0.1.RELEASE.jar;E:\repository\com\zaxxer\HikariCP\2.7.8\HikariCP-2.7.8.jar;E:\repository\org\springframework\spring-jdbc\5.0.5.RELEASE\spring-jdbc-5.0.5.RELEASE.jar;E:\repository\org\springframework\spring-tx\5.0.5.RELEASE\spring-tx-5.0.5.RELEASE.jar;E:\repository\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\1.3.2\mybatis-spring-boot-autoconfigure-1.3.2.jar;E:\repository\org\mybatis\mybatis\3.4.6\mybatis-3.4.6.jar;E:\repository\org\mybatis\mybatis-spring\1.3.2\mybatis-spring-1.3.2.jar;E:\repository\org\projectlombok\lombok\1.16.20\lombok-1.16.20.jar;E:\repository\org\hibernate\hibernate-validator\5.1.3.Final\hibernate-validator-5.1.3.Final.jar;E:\repository\com\alibaba\druid\1.0.5\druid-1.0.5.jar;E:\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;E:\repository\com\fasterxml\jackson\core\jackson-databind\2.9.5\jackson-databind-2.9.5.jar;E:\repository\com\fasterxml\jackson\core\jackson-core\2.9.5\jackson-core-2.9.5.jar;E:\repository\com\github\pagehelper\pagehelper\4.0.0\pagehelper-4.0.0.jar;E:\repository\com\github\jsqlparser\jsqlparser\0.9.1\jsqlparser-0.9.1.jar;E:\repository\org\springframework\boot\spring-boot-starter-web\2.0.1.RELEASE\spring-boot-starter-web-2.0.1.RELEASE.jar;E:\repository\org\springframework\boot\spring-boot-starter\2.0.1.RELEASE\spring-boot-starter-2.0.1.RELEASE.jar;E:\repository\org\springframework\boot\spring-boot\2.0.1.RELEASE\spring-boot-2.0.1.RELEASE.jar;E:\repository\org\springframework\boot\spring-boot-autoconfigure\2.0.1.RELEASE\spring-boot-autoconfigure-2.0.1.RELEASE.jar;E:\repository\org\springframework\boot\spring-boot-starter-logging\2.0.1.RELEASE\spring-boot-starter-logging-2.0.1.RELEASE.jar;E:\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;E:\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;E:\repository\org\apache\logging\log4j\log4j-to-slf4j\2.10.0\log4j-to-slf4j-2.10.0.jar;E:\repository\org\apache\logging\log4j\log4j-api\2.10.0\log4j-api-2.10.0.jar;E:\repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;E:\repository\org\yaml\snakeyaml\1.19\snakeyaml-1.19.jar;E:\repository\org\springframework\boot\spring-boot-starter-json\2.0.1.RELEASE\spring-boot-starter-json-2.0.1.RELEASE.jar;E:\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.5\jackson-datatype-jdk8-2.9.5.jar;E:\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.5\jackson-datatype-jsr310-2.9.5.jar;E:\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.5\jackson-module-parameter-names-2.9.5.jar;E:\repository\org\hibernate\validator\hibernate-validator\6.0.9.Final\hibernate-validator-6.0.9.Final.jar;E:\repository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;E:\repository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;E:\repository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;E:\repository\org\springframework\spring-web\5.0.5.RELEASE\spring-web-5.0.5.RELEASE.jar;E:\repository\org\springframework\spring-beans\5.0.5.RELEASE\spring-beans-5.0.5.RELEASE.jar;E:\repository\org\springframework\spring-webmvc\5.0.5.RELEASE\spring-webmvc-5.0.5.RELEASE.jar;E:\repository\org\springframework\spring-aop\5.0.5.RELEASE\spring-aop-5.0.5.RELEASE.jar;E:\repository\org\springframework\spring-expression\5.0.5.RELEASE\spring-expression-5.0.5.RELEASE.jar;E:\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;E:\repository\org\springframework\spring-core\5.0.5.RELEASE\spring-core-5.0.5.RELEASE.jar;E:\repository\org\springframework\spring-jcl\5.0.5.RELEASE\spring-jcl-5.0.5.RELEASE.jar;E:\repository\org\springframework\boot\spring-boot-starter-thymeleaf\2.0.1.RELEASE\spring-boot-starter-thymeleaf-2.0.1.RELEASE.jar;E:\repository\org\thymeleaf\thymeleaf-spring5\3.0.9.RELEASE\thymeleaf-spring5-3.0.9.RELEASE.jar;E:\repository\org\thymeleaf\thymeleaf\3.0.9.RELEASE\thymeleaf-3.0.9.RELEASE.jar;E:\repository\org\attoparser\attoparser\2.0.4.RELEASE\attoparser-2.0.4.RELEASE.jar;E:\repository\org\unbescape\unbescape\1.1.5.RELEASE\unbescape-1.1.5.RELEASE.jar;E:\repository\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.1.RELEASE\thymeleaf-extras-java8time-3.0.1.RELEASE.jar;E:\repository\org\springframework\boot\spring-boot-starter-cache\2.0.1.RELEASE\spring-boot-starter-cache-2.0.1.RELEASE.jar;E:\repository\org\springframework\spring-context\5.0.5.RELEASE\spring-context-5.0.5.RELEASE.jar;E:\repository\org\springframework\spring-context-support\5.0.5.RELEASE\spring-context-support-5.0.5.RELEASE.jar;E:\repository\com\google\guava\guava\19.0\guava-19.0.jar;E:\repository\org\springframework\boot\spring-boot-starter-tomcat\2.0.1.RELEASE\spring-boot-starter-tomcat-2.0.1.RELEASE.jar;E:\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;E:\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.29\tomcat-embed-core-8.5.29.jar;E:\repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.29\tomcat-embed-el-8.5.29.jar;E:\repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.29\tomcat-embed-websocket-8.5.29.jar;D:\software\IntelliJ IDEA 2017.1.5\lib\idea_rt.jar
java.vm.specification.version = 1.8
sun.arch.data.model = 64
sun.java.command = com.dxh.delivery.DxhDeliveryWebApplication xingyuchao
java.home = D:\software\jdk1.8\jre
user.language = zh
java.specification.vendor = Oracle Corporation
awt.toolkit = sun.awt.windows.WToolkit
java.vm.info = mixed mode
java.version = 1.8.0_45
java.ext.dirs = D:\software\jdk1.8\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
sun.boot.class.path = D:\software\jdk1.8\jre\lib\resources.jar;D:\software\jdk1.8\jre\lib\rt.jar;D:\software\jdk1.8\jre\lib\sunrsasign.jar;D:\software\jdk1.8\jre\lib\jsse.jar;D:\software\jdk1.8\jre\lib\jce.jar;D:\software\jdk1.8\jre\lib\charsets.jar;D:\software\jdk1.8\jre\lib\jfr.jar;D:\software\jdk1.8\jre\classes
java.awt.headless = true
java.vendor = Oracle Corporation
catalina.base = C:\Users\li\AppData\Local\Temp\tomcat.8135028225072562445.8088
file.separator = \
java.vendor.url.bug = http://bugreport.sun.com/bugreport/
sun.io.unicode.encoding = UnicodeLittle
sun.cpu.endian = little
sun.desktop = windows
sun.cpu.isalist = amd64
<no option>: 打印出所有的JVM flags和sysprops
C:\Users\li>jinfo 11712
Attaching to process ID 11712, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.45-b02
Java System Properties:
spring.output.ansi.enabled = always
java.runtime.name = Java(TM) SE Runtime Environment
java.vm.version = 25.45-b02
sun.boot.library.path = D:\software\jdk1.8\jre\bin
java.vendor.url = http://java.oracle.com/
java.vm.vendor = Oracle Corporation
path.separator = ;
file.encoding.pkg = sun.io
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
sun.os.patch.level =
sun.java.launcher = SUN_STANDARD
user.script =
user.country = CN
user.dir = E:\idea workspace\dxh-delivery
java.vm.specification.name = Java Virtual Machine Specification
PID = 11712
java.runtime.version = 1.8.0_45-b15
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
os.arch = amd64
java.endorsed.dirs = D:\software\jdk1.8\jre\lib\endorsed
line.separator =
java.io.tmpdir = C:\Users\li\AppData\Local\Temp\
java.vm.specification.vendor = Oracle Corporation
user.variant =
os.name = Windows 8.1
sun.jnu.encoding = GBK
java.library.path = D:\software\jdk1.8\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\software\Git\Git\cmd;E:\apache-maven-3.5.2\bin;D:\software\Notepad++;D:\software\jdk1.8\bin;E:\apache-maven-3.5.2\bin;C:\Users\li\AppData\Local\Microsoft\WindowsApps;;.
spring.beaninfo.ignore = true
java.specification.name = Java Platform API Specification
java.class.version = 52.0
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
os.version = 6.3
user.home = C:\Users\li
user.timezone = Asia/Shanghai
catalina.useNaming = false
java.awt.printerjob = sun.awt.windows.WPrinterJob
file.encoding = UTF-8
java.specification.version = 1.8
catalina.home = C:\Users\li\AppData\Local\Temp\tomcat.8135028225072562445.8088
user.name = xingyuchao
java.class.path = D:\software\jdk1.8\jre\lib\charsets.jar;D:\software\jdk1.8\jre\lib\deploy.jar;D:\software\jdk1.8\jre\lib\ext\access-bridge-64.jar;D:\software\jdk1.8\jre\lib\ext\cldrdata.jar;D:\software\jdk1.8\jre\lib\ext\dnsns.jar;D:\software\jdk1.8\jre\lib\ext\jaccess.jar;D:\software\jdk1.8\jre\lib\ext\jfxrt.jar;D:\software\jdk1.8\jre\lib\ext\localedata.jar;D:\software\jdk1.8\jre\lib\ext\nashorn.jar;D:\software\jdk1.8\jre\lib\ext\sunec.jar;D:\software\jdk1.8\jre\lib\ext\sunjce_provider.jar;D:\software\jdk1.8\jre\lib\ext\sunmscapi.jar;D:\software\jdk1.8\jre\lib\ext\sunpkcs11.jar;D:\software\jdk1.8\jre\lib\ext\zipfs.jar;D:\software\jdk1.8\jre\lib\javaws.jar;D:\software\jdk1.8\jre\lib\jce.jar;D:\software\jdk1.8\jre\lib\jfr.jar;D:\software\jdk1.8\jre\lib\jfxswt.jar;D:\software\jdk1.8\jre\lib\jsse.jar;D:\software\jdk1.8\jre\lib\management-agent.jar;D:\software\jdk1.8\jre\lib\plugin.jar;D:\software\jdk1.8\jre\lib\resources.jar;D:\software\jdk1.8\jre\lib\rt.jar;E:\idea workspace\dxh-delivery\dxh-delivery-web\target\classes;E:\idea workspace\dxh-delivery\dxh-delivery-service\target\classes;E:\idea workspace\dxh-delivery\dxh-delivery-core\target\classes;E:\idea workspace\dxh-delivery\dxh-delivery-common\target\classes;E:\repository\redis\clients\jedis\2.9.0\jedis-2.9.0.jar;E:\repository\org\apache\commons\commons-pool2\2.5.0\commons-pool2-2.5.0.jar;E:\repository\com\alibaba\fastjson\1.2.38\fastjson-1.2.38.jar;E:\repository\org\apache\httpcomponents\httpclient\4.3.1\httpclient-4.3.1.jar;E:\repository\org\apache\httpcomponents\httpcore\4.4.9\httpcore-4.4.9.jar;E:\repository\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;E:\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;E:\repository\commons-lang\commons-lang\2.5\commons-lang-2.5.jar;E:\repository\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;E:\repository\commons-beanutils\commons-beanutils\1.9.1\commons-beanutils-1.9.1.jar;E:\repository\commons-io\commons-io\2.5\commons-io-2.5.jar;E:\repository\org\apache\commons\commons-lang3\3.6\commons-lang3-3.6.jar;E:\idea workspace\dxh-delivery\dxh-delivery-dal\target\classes;E:\repository\mysql\mysql-connector-java\5.1.46\mysql-connector-java-5.1.46.jar;E:\repository\org\mybatis\spring\boot\mybatis-spring-boot-starter\1.3.2\mybatis-spring-boot-starter-1.3.2.jar;E:\repository\org\springframework\boot\spring-boot-starter-jdbc\2.0.1.RELEASE\spring-boot-starter-jdbc-2.0.1.RELEASE.jar;E:\repository\com\zaxxer\HikariCP\2.7.8\HikariCP-2.7.8.jar;E:\repository\org\springframework\spring-jdbc\5.0.5.RELEASE\spring-jdbc-5.0.5.RELEASE.jar;E:\repository\org\springframework\spring-tx\5.0.5.RELEASE\spring-tx-5.0.5.RELEASE.jar;E:\repository\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\1.3.2\mybatis-spring-boot-autoconfigure-1.3.2.jar;E:\repository\org\mybatis\mybatis\3.4.6\mybatis-3.4.6.jar;E:\repository\org\mybatis\mybatis-spring\1.3.2\mybatis-spring-1.3.2.jar;E:\repository\org\projectlombok\lombok\1.16.20\lombok-1.16.20.jar;E:\repository\org\hibernate\hibernate-validator\5.1.3.Final\hibernate-validator-5.1.3.Final.jar;E:\repository\com\alibaba\druid\1.0.5\druid-1.0.5.jar;E:\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;E:\repository\com\fasterxml\jackson\core\jackson-databind\2.9.5\jackson-databind-2.9.5.jar;E:\repository\com\fasterxml\jackson\core\jackson-core\2.9.5\jackson-core-2.9.5.jar;E:\repository\com\github\pagehelper\pagehelper\4.0.0\pagehelper-4.0.0.jar;E:\repository\com\github\jsqlparser\jsqlparser\0.9.1\jsqlparser-0.9.1.jar;E:\repository\org\springframework\boot\spring-boot-starter-web\2.0.1.RELEASE\spring-boot-starter-web-2.0.1.RELEASE.jar;E:\repository\org\springframework\boot\spring-boot-starter\2.0.1.RELEASE\spring-boot-starter-2.0.1.RELEASE.jar;E:\repository\org\springframework\boot\spring-boot\2.0.1.RELEASE\spring-boot-2.0.1.RELEASE.jar;E:\repository\org\springframework\boot\spring-boot-autoconfigure\2.0.1.RELEASE\spring-boot-autoconfigure-2.0.1.RELEASE.jar;E:\repository\org\springframework\boot\spring-boot-starter-logging\2.0.1.RELEASE\spring-boot-starter-logging-2.0.1.RELEASE.jar;E:\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;E:\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;E:\repository\org\apache\logging\log4j\log4j-to-slf4j\2.10.0\log4j-to-slf4j-2.10.0.jar;E:\repository\org\apache\logging\log4j\log4j-api\2.10.0\log4j-api-2.10.0.jar;E:\repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;E:\repository\org\yaml\snakeyaml\1.19\snakeyaml-1.19.jar;E:\repository\org\springframework\boot\spring-boot-starter-json\2.0.1.RELEASE\spring-boot-starter-json-2.0.1.RELEASE.jar;E:\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.5\jackson-datatype-jdk8-2.9.5.jar;E:\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.5\jackson-datatype-jsr310-2.9.5.jar;E:\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.5\jackson-module-parameter-names-2.9.5.jar;E:\repository\org\hibernate\validator\hibernate-validator\6.0.9.Final\hibernate-validator-6.0.9.Final.jar;E:\repository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;E:\repository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;E:\repository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;E:\repository\org\springframework\spring-web\5.0.5.RELEASE\spring-web-5.0.5.RELEASE.jar;E:\repository\org\springframework\spring-beans\5.0.5.RELEASE\spring-beans-5.0.5.RELEASE.jar;E:\repository\org\springframework\spring-webmvc\5.0.5.RELEASE\spring-webmvc-5.0.5.RELEASE.jar;E:\repository\org\springframework\spring-aop\5.0.5.RELEASE\spring-aop-5.0.5.RELEASE.jar;E:\repository\org\springframework\spring-expression\5.0.5.RELEASE\spring-expression-5.0.5.RELEASE.jar;E:\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;E:\repository\org\springframework\spring-core\5.0.5.RELEASE\spring-core-5.0.5.RELEASE.jar;E:\repository\org\springframework\spring-jcl\5.0.5.RELEASE\spring-jcl-5.0.5.RELEASE.jar;E:\repository\org\springframework\boot\spring-boot-starter-thymeleaf\2.0.1.RELEASE\spring-boot-starter-thymeleaf-2.0.1.RELEASE.jar;E:\repository\org\thymeleaf\thymeleaf-spring5\3.0.9.RELEASE\thymeleaf-spring5-3.0.9.RELEASE.jar;E:\repository\org\thymeleaf\thymeleaf\3.0.9.RELEASE\thymeleaf-3.0.9.RELEASE.jar;E:\repository\org\attoparser\attoparser\2.0.4.RELEASE\attoparser-2.0.4.RELEASE.jar;E:\repository\org\unbescape\unbescape\1.1.5.RELEASE\unbescape-1.1.5.RELEASE.jar;E:\repository\org\thymeleaf\extras\thymeleaf-extras-java8time\3.0.1.RELEASE\thymeleaf-extras-java8time-3.0.1.RELEASE.jar;E:\repository\org\springframework\boot\spring-boot-starter-cache\2.0.1.RELEASE\spring-boot-starter-cache-2.0.1.RELEASE.jar;E:\repository\org\springframework\spring-context\5.0.5.RELEASE\spring-context-5.0.5.RELEASE.jar;E:\repository\org\springframework\spring-context-support\5.0.5.RELEASE\spring-context-support-5.0.5.RELEASE.jar;E:\repository\com\google\guava\guava\19.0\guava-19.0.jar;E:\repository\org\springframework\boot\spring-boot-starter-tomcat\2.0.1.RELEASE\spring-boot-starter-tomcat-2.0.1.RELEASE.jar;E:\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;E:\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.29\tomcat-embed-core-8.5.29.jar;E:\repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.29\tomcat-embed-el-8.5.29.jar;E:\repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.29\tomcat-embed-websocket-8.5.29.jar;D:\software\IntelliJ IDEA 2017.1.5\lib\idea_rt.jar
java.vm.specification.version = 1.8
sun.arch.data.model = 64
sun.java.command = com.dxh.delivery.DxhDeliveryWebApplication xingyuchao
java.home = D:\software\jdk1.8\jre
user.language = zh
java.specification.vendor = Oracle Corporation
awt.toolkit = sun.awt.windows.WToolkit
java.vm.info = mixed mode
java.version = 1.8.0_45
java.ext.dirs = D:\software\jdk1.8\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
sun.boot.class.path = D:\software\jdk1.8\jre\lib\resources.jar;D:\software\jdk1.8\jre\lib\rt.jar;D:\software\jdk1.8\jre\lib\sunrsasign.jar;D:\software\jdk1.8\jre\lib\jsse.jar;D:\software\jdk1.8\jre\lib\jce.jar;D:\software\jdk1.8\jre\lib\charsets.jar;D:\software\jdk1.8\jre\lib\jfr.jar;D:\software\jdk1.8\jre\classes
java.awt.headless = true
java.vendor = Oracle Corporation
catalina.base = C:\Users\li\AppData\Local\Temp\tomcat.8135028225072562445.8088
file.separator = \
java.vendor.url.bug = http://bugreport.sun.com/bugreport/
sun.io.unicode.encoding = UnicodeLittle
sun.cpu.endian = little
sun.desktop = windows
sun.cpu.isalist = amd64
VM Flags:
Non-default VM flags: -XX:-BytecodeVerificationLocal -XX:-BytecodeVerificationRemote -XX:CICompilerCount=3 -XX:InitialHeapSize=134217728 -XX:MaxHeapSize=2132803584 -XX:MaxNewSize=710934528 -XX:MinHeapDeltaBytes=524288 -XX:NewSize=44564480 -XX:OldSize=89653248 -XX:+PrintGCDetails -XX:TieredStopAtLevel=1 -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseFastUnorderedTimeStamps -XX:-UseLargePagesIndividualAllocation -XX:+UseParallelGC
Command line: -XX:+PrintGCDetails -XX:TieredStopAtLevel=1 -Xverify:none -Dspring.output.ansi.enabled=always -javaagent:D:\software\IntelliJ IDEA 2017.1.5\lib\idea_rt.jar=56375:D:\software\IntelliJ IDEA 2017.1.5\bin -Dfile.encoding=UTF-8
-h | -help : jinfo命令的帮助信息
C:\Users\li>jinfo -h
Usage:
jinfo [option] <pid>
(to connect to running process)
jinfo [option] <executable <core>
(to connect to a core file)
jinfo [option] [server_id@]<remote server IP or hostname>
(to connect to remote debug server)
where <option> is one of:
-flag <name> to print the value of the named VM flag
-flag [+|-]<name> to enable or disable the named VM flag
-flag <name>=<value> to set the named VM flag to the given value
-flags to print VM flags
-sysprops to print Java system properties
<no option> to print both of the above
-h | -help to print this help message
更多推荐
所有评论(0)