jsadebugd.1 revision 2362
4169N/A." Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
1178N/A." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1178N/A."
1178N/A." This code is free software; you can redistribute it and/or modify it
1178N/A." under the terms of the GNU General Public License version 2 only, as
1178N/A." published by the Free Software Foundation.
1178N/A."
1178N/A." This code is distributed in the hope that it will be useful, but WITHOUT
1178N/A." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1178N/A." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1178N/A." version 2 for more details (a copy is included in the LICENSE file that
1178N/A." accompanied this code).
1178N/A."
1178N/A." You should have received a copy of the GNU General Public License version
1178N/A." 2 along with this work; if not, write to the Free Software Foundation,
1178N/A." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1178N/A."
2362N/A." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A." or visit www.oracle.com if you need additional information or have any
2362N/A." questions.
1178N/A."
4169N/A.TH jsadebugd 1 "04 May 2009"
1178N/A." Generated from HTML by html2man (author: Eric Armstrong)
1178N/A
4033N/A.LP
4033N/A.SH "Name"
1178N/Ajsadebugd \- Serviceability Agent Debug Daemon
1178N/A.LP
1178N/A.SH "SYNOPSIS"
1178N/A.LP
1178N/A
1178N/A.LP
4033N/A.nf
1178N/A\f3
1178N/A.fl
4033N/A\fP\f3jsadebugd\fP pid [ server\-id ]
1178N/A.fl
1178N/A\f3jsadebugd\fP executable core [ server\-id ]
1178N/A.fl
4033N/A.fi
1178N/A
1178N/A.LP
4033N/A.SH "PARAMETERS"
1178N/A.LP
1178N/A
4033N/A.LP
1178N/A.RS 3
1178N/A.TP 3
4033N/Apid
0N/Aprocess id of the process to which the debug server should attach. The process must be a Java process. To get a list of Java processes running on a machine, jps(1) may be used. At most one instance of the debug server may be attached to a single process.
1178N/A.RE
1178N/A
1178N/A.LP
4033N/A.RS 3
1178N/A.TP 3
1178N/Aexecutable
1178N/A.RE
1178N/A
1178N/A.LP
1178N/A.RS 3
1178N/A.TP 3
1178N/AJava executable from which the core dump was produced
1178N/A.RE
1178N/A
1178N/A.LP
1178N/A.RS 3
1178N/A.TP 3
4033N/Acore
1178N/ACore file to which the debug server should attach.
1178N/A.RE
4033N/A
1178N/A.LP
1178N/A.RS 3
1178N/A.TP 3
1178N/Aserver\-id
4033N/AOptional unique id, needed if multiple debug servers are started on the same machine. This ID must be used by remote clients to identify the particular debug server to attach. Within a single machine, this ID must be unique.
1178N/A.RE
1178N/A
1178N/A.LP
1178N/A.SH "DESCRIPTION"
1178N/A.LP
1178N/A
4033N/A.LP
1178N/A.LP
1178N/A\f3jsadebugd\fP attaches to a Java process or core file and acts as a debug server. Remote clients such as jstack(1), jmap(1), and jinfo(1) can attach to the server using Java Remote Method Invocation (RMI). Before starting \f2jsadebugd\fP,
1178N/A.na
4033N/A\f2rmiregistry\fP @
1178N/A.fi
1178N/Ahttp://java.sun.com/javase/6/docs/technotes/tools/index.html#rmi must be started with:
1178N/A.LP
4033N/A.RS 3
1178N/A
1178N/A.LP
1178N/A.nf
4033N/A\f3
1178N/A.fl
1178N/A\fP\f4rmiregistry \-J\-Xbootclasspath/p:$JAVA_HOME/lib/sajdi.jar\fP\f3
1178N/A.fl
4033N/A\fP
1178N/A.fi
1178N/A.RE
4033N/A
0N/A.LP
0N/A.LP
0N/Awhere \f2$JAVA_HOME\fP is the JDK installation directory. If rmiregistry was not started, jsadebugd will start an rmiregistry in a standard (1099) port internally. Debug server may be stopped by sending SIGINT (pressing Ctrl\-C) to it.
0N/A.LP
0N/A.LP
0N/A\f3NOTE \- 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, \fP\f4PATH\fP\f3 environment variable should contain the location of \fP\f4jvm.dll\fP\f3 used by the target process or the location from which the Crash Dump file was produced.\fP
0N/A.LP
0N/A.LP
0N/A\f3For example, \fP\f4set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP
0N/A.LP
0N/A.SH "SEE ALSO"
0N/A.LP
1178N/A.RS 3
4033N/A.TP 2
4033N/Ao
0N/Ajinfo(1)
4033N/A.TP 2
0N/Ao
4033N/Ajmap(1)
0N/A.TP 2
1178N/Ao
0N/Ajps(1)
0N/A.TP 2
4033N/Ao
1178N/Ajstack(1)
1178N/A.TP 2
4033N/Ao
1178N/A.na
4033N/A\f2rmiregistry\fP @
1178N/A.fi
4033N/Ahttp://java.sun.com/javase/6/docs/technotes/tools/index.html#rmi
0N/A.RE
0N/A
4033N/A.LP
0N/A
1178N/A.LP
4033N/A
0N/A