<!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 Inc>
<refentry id="list-mbeans-1">
<refmeta><refentrytitle>list-mbeans</refentrytitle><manvolnum>1</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="list-mbeans">list-mbeans &mdash;lists
the custom mbeans for a given target.</primary></indexterm><indexterm><primary
sortas="lists the custom mbeans for a given target">lists the custom mbeans
for a given target &mdash; list-mbeans</primary></indexterm><refname>list-mbeans 
</refname><refpurpose>lists the custom mbeans for a given target server instance. 
</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>list-mbeans</command>&synopsis-common;
<arg choice="plain">target=<replaceable>server</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>Lists the custom mbeans for the specified target. <literal>list-mbeans
</literal> provides the following information : <itemizedlist>
<listitem><para><literal>ClassName</literal> of the MBean</para></listitem>
<listitem><para><replaceable>name</replaceable> of the MBean (if specified
while creating the MBean)</para></listitem>
<listitem><para><literal>ObjectName</literal> of the MBean</para></listitem>
<listitem><para><literal>ObjectType</literal> of the MBean</para></listitem>
<listitem><para>Boolean indicating whether the MBean is enabled </para></listitem>
</itemizedlist></para>
<para>This command is supported in remote mode only.</para>
</refsect1>
<refsect1><title>&opts-tt;</title>
<para>If an option has a short option name, then the short option preceeds
the long option name. Short options have one dash whereas long options have
two dashes.</para>
<variablelist termlength="medium">&options-common;
</variablelist></refsect1>
<refsect1><title>&oper-tt;</title>
<variablelist termlength="medium">
<varlistentry><term><option role="nodash">target=</option><replaceable>server
</replaceable></term><listitem><para> The target for the MBean. Identifies
the server instance. Defaults to the name of the Domain Adminstration Server
(DAS).</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using list-mbeans</title>
<screen>asadmin><userinput>list-mbeans target=server1</userinput>
Where: server1 is an application server instance.</screen>
</example>
</refsect1>
<refsect1><title>&exit-tt;</title>
<variablelist termlength="medium"><?Pub Caret>
<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="create-mbean-1"><citerefentry><refentrytitle>create-mbean
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
<para><link linkend="delete-mbean-1"><citerefentry><refentrytitle>delete-mbean
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000003515>
