查看指定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
上善若水,水利万物而不争。