4632N/A." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
4632N/A." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4632N/A."
4632N/A." This code is free software; you can redistribute it and/or modify it
4632N/A." under the terms of the GNU General Public License version 2 only, as
4632N/A." published by the Free Software Foundation.
4632N/A."
4632N/A." This code is distributed in the hope that it will be useful, but WITHOUT
4632N/A." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4632N/A." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4632N/A." version 2 for more details (a copy is included in the LICENSE file that
4632N/A." accompanied this code).
4632N/A."
4632N/A." You should have received a copy of the GNU General Public License version
4632N/A." 2 along with this work; if not, write to the Free Software Foundation,
4632N/A." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4632N/A."
4632N/A." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4632N/A." or visit www.oracle.com if you need additional information or have any
4632N/A." questions.
4632N/A."
4632N/A.TH jsadebugd 1 "10 May 2011"
4632N/A
4632N/A.LP
4632N/A.SH "Name"
4632N/Ajsadebugd \- Serviceability Agent Debug Daemon
4632N/A.LP
4632N/A.SH "SYNOPSIS"
4632N/A.LP
4632N/A.nf
4632N/A\f3
4632N/A.fl
4632N/A\fP\f3jsadebugd\fP pid [ server\-id ]
4632N/A.fl
4632N/A\f3jsadebugd\fP executable core [ server\-id ]
4632N/A.fl
4632N/A.fi
4632N/A
4632N/A.LP
4632N/A.SH "PARAMETERS"
4632N/A.LP
4632N/A.RS 3
4632N/A.TP 3
4632N/Apid
4632N/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.
4632N/A.TP 3
4632N/Aexecutable
4632N/AJava executable from which the core dump was produced
4632N/A.TP 3
4632N/Acore
4632N/ACore file to which the debug server should attach.
4632N/A.TP 3
4632N/Aserver\-id
4632N/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.
4632N/A.RE
4632N/A
4632N/A.LP
4632N/A.SH "DESCRIPTION"
4632N/A.LP
4632N/A.LP
4632N/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,
4632N/A.na
4632N/A\f2rmiregistry\fP @
4632N/A.fi
4632N/Ahttp://download.oracle.com/javase/7/docs/technotes/tools/index.html#rmi must be started with:
4632N/A.LP
4632N/A.nf
4632N/A\f3
4632N/A.fl
4632N/A\fP\f4rmiregistry \-J\-Xbootclasspath/p:$JAVA_HOME/lib/sajdi.jar\fP\f3
4632N/A.fl
4632N/A\fP
4632N/A.fi
4632N/A
4632N/A.LP
4632N/A.LP
4632N/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.
4632N/A.LP
4632N/A.LP
4632N/A\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.
4632N/A.LP
4632N/A.LP
4632N/AFor example, \f2set PATH=<jdk>\\jre\\bin\\client;%PATH%\fP
4632N/A.LP
4632N/A.SH "SEE ALSO"
4632N/A.LP
4632N/A.RS 3
4632N/A.TP 2
4632N/Ao
4632N/Ajinfo(1)
4632N/A.TP 2
4632N/Ao
4632N/Ajmap(1)
4632N/A.TP 2
4632N/Ao
4632N/Ajps(1)
4632N/A.TP 2
4632N/Ao
4632N/Ajstack(1)
4632N/A.TP 2
4632N/Ao
4632N/A.na
4632N/A\f2rmiregistry\fP @
4632N/A.fi
4632N/Ahttp://download.oracle.com/javase/7/docs/technotes/tools/index.html#rmi
4632N/A.RE
4632N/A
4632N/A.LP
4632N/A