1 #
2 # Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation.
8 #
9 # This code is distributed in the hope that it will be useful, but WITHOUT
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 # version 2 for more details (a copy is included in the LICENSE file that
13 # accompanied this code).
14 #
15 # You should have received a copy of the GNU General Public License version
16 # 2 along with this work; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 #
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 # or visit www.oracle.com if you need additional information or have any
21 # questions.
22 #
23
24 pattern=%p
25 javaOnly=true
26 args=%p
27 ################################################################################
28 # process info to gather
29 ################################################################################
30 onTimeout=\
31 jinfo \
32 jcmd.compiler.codecache jcmd.compiler.codelist \
33 jcmd.compiler.queue \
34 jcmd.vm.classloader_stats jcmd.vm.stringtable \
35 jcmd.vm.symboltable jcmd.vm.uptime jcmd.vm.dynlibs \
36 jcmd.vm.system_properties jcmd.vm.info \
37 jcmd.gc.heap_info jcmd.gc.class_histogram jcmd.gc.finalizer_info jcmd.thread.dump_to_file \
38 jstack jhsdb.jstack.live.default jhsdb.jstack.live.mixed
39
40 jinfo.app=jinfo
41
42 jcmd.app=jcmd
43
44 jcmd.compiler.codecache.args=%p Compiler.codecache
45 jcmd.compiler.codelist.args=%p Compiler.codelist
46 jcmd.compiler.queue.args=%p Compiler.queue
47
48 jcmd.vm.classloader_stats.args=%p VM.classloader_stats
49 jcmd.vm.stringtable.args=%p VM.stringtable
50 jcmd.vm.symboltable.args=%p VM.symboltable
51 jcmd.vm.uptime.args=%p VM.uptime
52 jcmd.vm.dynlibs.args=%p VM.dynlibs
53 jcmd.vm.system_properties.args=%p VM.system_properties
54 jcmd.vm.info.args=%p VM.info
55
56 jcmd.gc.class_histogram.args=%p GC.class_histogram
57 jcmd.gc.finalizer_info.args=%p GC.finalizer_info
58 jcmd.gc.heap_info.args=%p GC.heap_info
59
60 jcmd.thread.dump_to_file.args=%p Thread.dump_to_file -format=json JavaThread.dump.%p.%iterCount
61 jcmd.thread.dump_to_file.params.repeat=6
62 jcmd.thread.dump_to_file.params.successArtifacts=JavaThread.dump.%p.%iterCount
63
64 jstack.app=jstack
65 jstack.args=-e -l %p
66 jstack.params.repeat=6
67
68 jhsdb.app=jhsdb
69 jhsdb.jstack.live.default.args=jstack --pid %p
70 jhsdb.jstack.live.default.params.repeat=6
71 jhsdb.jstack.live.mixed.args=jstack --mixed --pid %p
72 jhsdb.jstack.live.mixed.params.repeat=6
73
74 cores=jhsdb.jstack.core.default jhsdb.jstack.core.mixed
75 # Assume that java standard laucher has been used
76 jhsdb.jstack.core.default.args=jstack --core %p --exe %java
77 jhsdb.jstack.core.mixed.args=jstack --mixed --core %p --exe %java
78
79 ################################################################################
80 # environment info to gather
81 ################################################################################
82 environment=jps
83 jps.app=jps
|
1 #
2 # Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation.
8 #
9 # This code is distributed in the hope that it will be useful, but WITHOUT
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 # version 2 for more details (a copy is included in the LICENSE file that
13 # accompanied this code).
14 #
15 # You should have received a copy of the GNU General Public License version
16 # 2 along with this work; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 #
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 # or visit www.oracle.com if you need additional information or have any
21 # questions.
22 #
23
24 pattern=%p
25 javaOnly=true
26 args=%p
27 ################################################################################
28 # process info to gather
29 ################################################################################
30 onTimeout=\
31 jinfo \
32 jcmd.compiler.codecache jcmd.compiler.codelist \
33 jcmd.compiler.queue \
34 jcmd.vm.classloader_stats jcmd.vm.stringtable \
35 jcmd.vm.symboltable jcmd.vm.uptime jcmd.vm.dynlibs \
36 jcmd.vm.system_properties jcmd.vm.info \
37 jcmd.gc.heap_info jcmd.gc.class_histogram jcmd.gc.finalizer_info jcmd.thread.dump_to_file jcmd.thread.vthread_summary \
38 jstack jhsdb.jstack.live.default jhsdb.jstack.live.mixed
39
40 jinfo.app=jinfo
41
42 jcmd.app=jcmd
43
44 jcmd.compiler.codecache.args=%p Compiler.codecache
45 jcmd.compiler.codelist.args=%p Compiler.codelist
46 jcmd.compiler.queue.args=%p Compiler.queue
47
48 jcmd.vm.classloader_stats.args=%p VM.classloader_stats
49 jcmd.vm.stringtable.args=%p VM.stringtable
50 jcmd.vm.symboltable.args=%p VM.symboltable
51 jcmd.vm.uptime.args=%p VM.uptime
52 jcmd.vm.dynlibs.args=%p VM.dynlibs
53 jcmd.vm.system_properties.args=%p VM.system_properties
54 jcmd.vm.info.args=%p VM.info
55
56 jcmd.gc.class_histogram.args=%p GC.class_histogram
57 jcmd.gc.finalizer_info.args=%p GC.finalizer_info
58 jcmd.gc.heap_info.args=%p GC.heap_info
59
60 jcmd.thread.dump_to_file.args=%p Thread.dump_to_file -format=json JavaThread.dump.%p.%iterCount
61 jcmd.thread.dump_to_file.params.repeat=6
62 jcmd.thread.dump_to_file.params.successArtifacts=JavaThread.dump.%p.%iterCount
63
64 jcmd.thread.vthread_summary.args=%p Thread.vthread_summary
65
66 jstack.app=jstack
67 jstack.args=-e -l %p
68 jstack.params.repeat=6
69
70 jhsdb.app=jhsdb
71 jhsdb.jstack.live.default.args=jstack --pid %p
72 jhsdb.jstack.live.default.params.repeat=6
73 jhsdb.jstack.live.mixed.args=jstack --mixed --pid %p
74 jhsdb.jstack.live.mixed.params.repeat=6
75
76 cores=jhsdb.jstack.core.default jhsdb.jstack.core.mixed
77 # Assume that java standard laucher has been used
78 jhsdb.jstack.core.default.args=jstack --core %p --exe %java
79 jhsdb.jstack.core.mixed.args=jstack --mixed --core %p --exe %java
80
81 ################################################################################
82 # environment info to gather
83 ################################################################################
84 environment=jps
85 jps.app=jps
|