Linux Commands Examples

A great documentation place for Linux commands

jsadebugd

Serviceability Agent Debug Daemon

Synopsis

jsadebugd pid [ server-id ]
jsadebugd
executable core [ server-id ]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
jrunscript \
jsadebugd \
jstack \
jstat \
jstatd \
jvisualvm \
native2ascii \
rmic \
schemagen \
serialver \
0
source
            
jdk jrunscript $JVM/bin/jrunscript
jdk jsadebugd $JVM/bin/jsadebugd
jdk jstack $JVM/bin/jstack
jdk jstat $JVM/bin/jstat
jdk jstatd $JVM/bin/jstatd
update-alternatives --install /usr/bin/jsadebugd jsadebugd $JVM/bin/jsadebugd $PRIO --slave /usr/share/man/man1/jsadebugd.1 jsadebugd.1 $JVM/man/man1/jsadebugd.1

description

jsadebugd attaches to a Java process or core file and acts as a debug server. Remote clients such as jstack, jmap, and jinfo can attach to the server using Java Remote Method Invocation (RMI). Before starting jsadebugd, rmiregistry must be started with:

rmiregistry -J-Xbootclasspath/p:$JAVA_HOME/lib/sajdi.jar

where $JAVA_HOME 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.

NOTE - This utility is unsupported and may or may not be available in future versions of the JDK. jsadebugd is not currently available on Windows platforms.

parameters

pid

process 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 may be used. At most one instance of the debug server may be attached to a single process.

executable
Java executable from which the core dump was produced
core

Core file to which the debug server should attach.

server-id

Optional 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.


see also

*

jinfo

*

jmap

*

jps

*

jstack

*

rmiregistry

How can this site be more helpful to YOU ?


give  feedback