<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!ENTITY metainfo SYSTEM "metainfo.sgm">
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY Dash "&ndash;">
]>
<?Pub UDT _bookmark _target>
<?Pub EntList brvbar bull cross dash diam diams frac12 frac13 frac14 hellip
 laquo lArr loz mdash nabla ndash para pound rArr raquo sect yen ne>
<?Pub Inc>
<refentry id="generate-jvm-report-1">
<refmeta><refentrytitle>generate-jvm-report</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="generate-jvm-report">generate&ndash;jvm&ndash;report &mdash;shows
the threads, classes and memory for a given target instance.</primary></indexterm>
<indexterm><primary sortas="shows the threads, classes and memory for a given target instance">
shows the threads, classes and memory for a given target instance &mdash;generate&ndash;jvm&ndash;report
</primary></indexterm><refname>generate-jvm-report</refname><refpurpose>shows
the threads, classes and memory for a given target instance.</refpurpose>
</refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>generate-jvm-report</command>&synopsis-common;
<arg choice="opt">target</arg><arg choice="opt">--type=<replaceable>summary|memory|class|thread
</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>This command shows the threads (dump of stack trace), classes and memory
for a given target instance, including the Domain Administration Service.
This command works only with the application server instance processes. This
command replaces the traditional techniques like sending ctrl+break or kill
-3 signals to application server processes. The command will not work if the
target server instance is not running.</para>
</refsect1>
<refsect1><title>&opts-tt;</title>
<variablelist termlength="medium">&options-common;
<varlistentry><term><option role="nodash">&Dash;&Dash;type</option></term>
<listitem><para>The type of report user wants to see. </para>
<itemizedlist>
<listitem><para><literal>summary</literal>, which displays summary information
about the threads/classes and memory.</para>
</listitem>
<listitem><para><literal>memory</literal>, which provides information about
heap and non-heap memory consumption, memory pools, and garbage collection
statistics for a given target instance</para>
</listitem>
<listitem><para><literal>classes</literal>, which gives information about
the class loader for a given target instance</para>
</listitem>
<listitem><para><literal>threads</literal>, which provides information about
threads running and the thread dump (stack trace) for a given target instance.
</para>
</listitem>
</itemizedlist>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>OPERANDS</title>
<variablelist termlength="medium">
<varlistentry><term>&Dash;&Dash;target</term><listitem><para>This option specifies
the ending location of the connector resources. Valid targets are server,
domain, cluster, and instance. The default target is server.</para>
<para>&se-ee-only;</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the generate-jvm-report command</title>
<screen><?Pub Caret1>asadmin> <userinput>generate-jvm-report --user admin --passwordfile passwords.txt
--type summary server1</userinput>
Operating System Information:
Name of the Operating System: Linux
Binary Architecture name of the Operating System: i386, Version: 
2.6.9-22.ELsmp
Number of processors available on the Operating System: 2
...
...
...
user.language = en
user.name = root
user.timezone = America/Los_Angeles
Command generate-jvm-report executed successfully</screen>
</example>
</refsect1>
<refsect1><title>&exit-tt;</title>
<variablelist termlength="medium">
<varlistentry><term>0</term><listitem><para>command executed successfully
</para>
</listitem></varlistentry>
<varlistentry><term>1</term><listitem><para>error in executing the command
</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&also-tt;</title>
<para><link linkend="relatedCommand-1"><citerefentry><refentrytitle></refentrytitle>
<manvolnum></manvolnum></citerefentry></link>, </para>
</refsect1>
</refentry>
<?Pub *0000004538>
