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)whereisone of:-flag <name>to print the value of the named VM flag-flag [+|-]<name>to enable or disable the named VM flag-flag...
jinfo -flags id查看JVM信息 [root@localhost logs]# jinfo -flags 87681 Attaching to process ID 87681, please wait... Debugger attached successfully. Server compiler detected. JVM version is 25.221-b11 Non-default VM flags: -XX:CICompilerCount=12 -XX:CompressedClassSpaceSize=134217728 -XX:Initial...
jcmd <pid> VM.flags获取启动参数 jcmd <pid> VM.uptime获取进程到现在运行了多长时间 jcmd <pid> Thread.print查看线程信息 jcmd <pid> PerfCounter.print获取性能相关数据 jcmd <pid> GC.heap_dump $PWD/heap.dump导出堆快照到当前目录,需要生成dump,再使用特定工具去详细进行分析(例如 VisualVm) jcmd <pid>...
sun.cpu.endian=little sun.cpu.isalist=VMFlags:// 第二部分:jvm 参数Non-defaultVMflags:-XX:CICompilerCount=15-XX:InitialHeapSize=2147483648-XX:MaxHeapSize=32210157568-XX:MaxNewSize=10736369664-XX:MinHeapDeltaBytes=524288-XX:NewSize=715653120-XX:OldSize=1431830528-XX:+UseCompressedClassPointers-XX:+...
-flag <name>=<value>tosetthenamed VM flagtothegivenvalue -flagstoprint VM flags -syspropstoprint Java system properties <no option>toprint bothoftheabove-h | -helptoprint this help message 我们先用 jps 命令查到 PID ,然后可以通过 jinfo 来查看对应进程的参数信息: ...
VM Flags: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:55948 -ea -Dfile.encoding=GBK 这个命令包含了 JDK 和 JVM 运行起来时的一些属性。 2.jmap 描述:输出给定 java 进程所有的内存使用信息。 使用: jmap [ option ] pid
-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 1. 2. 3.
jinfo -flags 1234 这将显示类似以下的输出: text VM Flags: -XX:CICompilerCount=3 -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:G1HeapRegionSize=2097152 -XX:GCDrainStackTargetSize=64 ... 你也可以使用 -sysprops 选项来查看 JVM 的系统属性: bash jinfo -sysprops 1234 这将显示类...
1、jinfo -flags pid 1 ./jinfo-flags 13553 输出结果: 1 2 3 4 5 6 Attaching to process ID 13553, please wait... Debugger attached successfully. Server compiler detected. JVM version is 25.51-b03 Non-default VM flags: -XX:CICompilerCount=4 -XX:InitialHeapSize=526385152 -XX:MaxHeapSize=...
VM Flags:// 第二部分:jvm 参数Non-defaultVM flags: -XX:CICompilerCount=15-XX:InitialHeapSize=2147483648-XX:MaxHeapSize=32210157568-XX:MaxNewSize=10736369664-XX:MinHeapDeltaBytes=524288-XX:NewSize=715653120-XX:OldSize=1431830528-XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseFastUnord...