查看指定java进程的jvm参数配置命令之jinfo

一、查看所有的参数

jinfo -flags 3739

PS:3739为JAVA进程ID

Attaching to process ID 3739, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 25.112-b15
Non-default VM flags: -XX:CICompilerCount=3 -XX:InitialHeapSize=262144000 -XX:MaxHeapSize=4164943872 -XX:MaxNewSize=1388314624 -XX:MinHeapDeltaBytes=524288 -XX:NewSize=87031808 -XX:OldSize=175112192 -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseFastUnorderedTimeStamps -XX:-UseLargePagesIndividualAllocation -XX:+UseParallelGC
Command line: -XX:-UseLargePagesIndividualAllocation

 

二、查看指定的参数

jinfo -flag InitialHeapSize 3739

得到的结果如下:

-XX:InitialHeapSize=262144000

posted @ 2018-02-25 23:18  一沙世界  阅读(1145)  评论(0编辑  收藏  举报