# # Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. # # This code is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # version 2 for more details (a copy is included in the LICENSE file that # accompanied this code). # # You should have received a copy of the GNU General Public License version # 2 along with this work; if not, write to the Free Software Foundation, # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. # # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA # or visit www.oracle.com if you need additional information or have any # questions. # pattern=%p javaOnly=true args=%p ################################################################################ # process info to gather ################################################################################ onTimeout=\ jinfo \ jcmd.compiler.codecache jcmd.compiler.codelist \ jcmd.compiler.queue \ jcmd.vm.classloader_stats jcmd.vm.stringtable \ jcmd.vm.symboltable jcmd.vm.uptime jcmd.vm.dynlibs \ jcmd.vm.system_properties jcmd.vm.info \ jcmd.gc.heap_info jcmd.gc.class_histogram jcmd.gc.finalizer_info jcmd.thread.dump_to_file \ jstack jhsdb.jstack.live.default jhsdb.jstack.live.mixed jinfo.app=jinfo jcmd.app=jcmd jcmd.compiler.codecache.args=%p Compiler.codecache jcmd.compiler.codelist.args=%p Compiler.codelist jcmd.compiler.queue.args=%p Compiler.queue jcmd.vm.classloader_stats.args=%p VM.classloader_stats jcmd.vm.stringtable.args=%p VM.stringtable jcmd.vm.symboltable.args=%p VM.symboltable jcmd.vm.uptime.args=%p VM.uptime jcmd.vm.dynlibs.args=%p VM.dynlibs jcmd.vm.system_properties.args=%p VM.system_properties jcmd.vm.info.args=%p VM.info jcmd.gc.class_histogram.args=%p GC.class_histogram jcmd.gc.finalizer_info.args=%p GC.finalizer_info jcmd.gc.heap_info.args=%p GC.heap_info jcmd.thread.dump_to_file.args=%p Thread.dump_to_file -format=json JavaThread.dump.%p.%iterCount jcmd.thread.dump_to_file.params.repeat=6 jcmd.thread.dump_to_file.params.successArtifacts=JavaThread.dump.%p.%iterCount jstack.app=jstack jstack.args=-e -l %p jstack.params.repeat=6 jhsdb.app=jhsdb jhsdb.jstack.live.default.args=jstack --pid %p jhsdb.jstack.live.default.params.repeat=6 jhsdb.jstack.live.mixed.args=jstack --mixed --pid %p jhsdb.jstack.live.mixed.params.repeat=6 cores=jhsdb.jstack.core.default jhsdb.jstack.core.mixed # Assume that java standard laucher has been used jhsdb.jstack.core.default.args=jstack --core %p --exe %java jhsdb.jstack.core.mixed.args=jstack --mixed --core %p --exe %java ################################################################################ # environment info to gather ################################################################################ environment=jps jps.app=jps jps.args=-mlv ################################################################################