C:\Program Files\Java\jdk1.8.0_131\bin>jinfo 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
C:\Program Files\Java\jdk1.8.0_131\bin>jinfo -flag PrintGC 17276 -XX:-PrintGC
C:\Program Files\Java\jdk1.8.0_131\bin>jinfo -flag PrintClassHistogram 17276 -XX:-PrintClassHistogram
C:\Program Files\Java\jdk1.8.0_131\bin>jinfo -flag HeapDumpPath 17276 -XX:HeapDumpPath=
|