equal
deleted
inserted
replaced
1 .'" t |
1 ." Copyright 2004 Sun Microsystems, Inc. All Rights Reserved. |
2 ." Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. |
|
3 ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
2 ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 ." |
3 ." |
5 ." This code is free software; you can redistribute it and/or modify it |
4 ." 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 |
5 ." under the terms of the GNU General Public License version 2 only, as |
7 ." published by the Free Software Foundation. |
6 ." published by the Free Software Foundation. |
17 ." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
16 ." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
18 ." |
17 ." |
19 ." Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
18 ." Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
20 ." CA 95054 USA or visit www.sun.com if you need additional information or |
19 ." CA 95054 USA or visit www.sun.com if you need additional information or |
21 ." have any questions. |
20 ." have any questions. |
22 ." ` |
21 ." |
23 .TH jstack 1 "07 Aug 2006" |
22 .TH jstack 1 "04 May 2009" |
24 ." Generated by html2man |
23 ." Generated from HTML by html2man (author: Eric Armstrong) |
25 |
24 |
26 .LP |
25 .LP |
27 .SH NAME |
26 .SH "Name" |
28 jstack \- Stack Trace |
27 jstack \- Stack Trace |
29 .br |
28 .br |
30 |
29 |
31 .LP |
30 .LP |
32 .SH "SYNOPSIS" |
31 .SH "SYNOPSIS" |
53 Options are mutually exclusive. Option, if used, should follow immediately after the command name. See OPTIONS. |
52 Options are mutually exclusive. Option, if used, should follow immediately after the command name. See OPTIONS. |
54 .LP |
53 .LP |
55 .RS 3 |
54 .RS 3 |
56 .TP 3 |
55 .TP 3 |
57 pid |
56 pid |
58 process id for which the stack trace is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps may be used. |
57 process id for which the stack trace is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used. |
59 .RE |
58 .RE |
60 |
59 |
61 .LP |
60 .LP |
62 .RS 3 |
61 .RS 3 |
63 .TP 3 |
62 .TP 3 |
68 core |
67 core |
69 core file for which the stack trace is to be printed. |
68 core file for which the stack trace is to be printed. |
70 .br |
69 .br |
71 .TP 3 |
70 .TP 3 |
72 remote\-hostname\-or\-IP |
71 remote\-hostname\-or\-IP |
73 remote debug server's (see jsadebugd) hostname or IP address. |
72 remote debug server's (see jsadebugd(1)) hostname or IP address. |
74 .br |
73 .br |
75 .TP 3 |
74 .TP 3 |
76 server\-id |
75 server\-id |
77 optional unique id, if multiple debug servers are running on the same remote host. |
76 optional unique id, if multiple debug servers are running on the same remote host. |
78 .RE |
77 .RE |
99 .fi |
98 .fi |
100 .RE |
99 .RE |
101 |
100 |
102 .LP |
101 .LP |
103 .LP |
102 .LP |
104 \f3NOTE \- This utility is unsupported and may or may not be available in future versions of the JDK. The only form of jstack that is available on Windows platforms is\fP |
103 \f3NOTE\fP \- This utility is unsupported and may or may not be available in future versions of the JDK. In Windows Systems where dbgeng.dll is not present, 'Debugging Tools For Windows' needs to be installed to have these tools working. Also, \f2PATH\fP environment variable should contain the location of \f2jvm.dll\fP used by the target process or the location from which the Crash Dump file was produced. |
105 .LP |
104 .LP |
106 .nf |
105 .LP |
107 \f3 |
106 For example, \f2set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP |
108 .fl |
|
109 \fP\f3 jstack pid \fP |
|
110 .fl |
|
111 .fi |
|
112 |
|
113 .LP |
107 .LP |
114 .SH "OPTIONS" |
108 .SH "OPTIONS" |
115 .LP |
109 .LP |
116 |
110 |
117 .LP |
111 .LP |
118 .RS 3 |
112 .RS 3 |
119 .TP 3 |
113 .TP 3 |
120 \-F |
114 \-F |
121 Forces a stack dump when 'jstack pid' does not respond. |
115 Force a stack dump when 'jstack [\-l] pid' does not respond. |
|
116 .TP 3 |
|
117 \-l |
|
118 Long listing. Prints additional information about locks such as list of owned java.util.concurrent |
|
119 .na |
|
120 \f2ownable synchronizers\fP @ |
|
121 .fi |
|
122 http://java.sun.com/javase/6/docs/api/java/util/concurrent/locks/AbstractOwnableSynchronizer.html. |
122 .TP 3 |
123 .TP 3 |
123 \-m |
124 \-m |
124 prints mixed mode (both Java and native C/C++ frames) stack trace. |
125 prints mixed mode (both Java and native C/C++ frames) stack trace. |
125 .TP 3 |
126 .TP 3 |
126 \-h |
127 \-h |
143 .TP 2 |
144 .TP 2 |
144 o |
145 o |
145 c++filt(1) |
146 c++filt(1) |
146 .TP 2 |
147 .TP 2 |
147 o |
148 o |
148 jps |
149 jps(1) |
149 .TP 2 |
150 .TP 2 |
150 o |
151 o |
151 jsadebugd |
152 jsadebugd(1) |
152 .RE |
153 .RE |
153 |
154 |
154 .LP |
155 .LP |
155 .SH "KNOWN BUGS" |
156 .SH "KNOWN BUGS" |
156 .LP |
157 .LP |