<!--Arbortext, Inc., 1988-2008, v.4002-->
<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD SolBook 3.5//EN" [
<!ENTITY options-common SYSTEM "options-common.sgm">
<!ENTITY synopsis-common SYSTEM "synopsis-common.sgm">
<!ENTITY % commonents SYSTEM "common.ent">
%commonents;
]>
<?Pub UDT _bookmark _target>
<?Pub EntList bull rArr sect>
<?Pub Inc>
<refentry id="list-mbeans-1"><?Pub Tag atict:info tracking="off" ref="2"><?Pub Tag
atict:user user="hl34125" fullname=""><?Pub Tag atict:user user="pmdavies"
fullname=""><?Pub Tag atict:user user="ah95648" fullname="">
<!-- @(#)list-mbeans.1 1.11 07/07/26 SMI; -->
<refmeta><refentrytitle>list-mbeans</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">30 Jan 2007</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&software;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">Copyright (c) 2007, Sun Microsystems, Inc.
All Rights Reserved</refmiscinfo>
</refmeta>
<refnamediv><indexterm><primary>list-mbeans</primary></indexterm><indexterm>
<primary>lists the custom mbeans for a given target</primary></indexterm>
<refname>list-mbeans </refname><refpurpose>lists the custom mbeans for a given
target server instance. </refpurpose></refnamediv>
<refsynopsisdiv><title></title>
<synopsis><command>list-mbeans</command> &synopsis-common; target=<replaceable>server
</replaceable></synopsis>
</refsynopsisdiv>
<refsect1 role="description"><title></title>
<para>Lists the custom mbeans for the specified target. <literal>list-mbeans</literal> provides
the following information : </para>
<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>This command is supported in remote mode only.</para>
</refsect1>
<refsect1 role="options"><title></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 role="operands"><title></title>
<variablelist termlength="medium">
<varlistentry><term><option>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 role="examples"><title></title>
<example><title>Using list-mbeans</title>
<screen>asadmin><userinput>list-mbeans target=server</userinput>
mbeanFoo
Command list-mbeans executed successfuly</screen>
<para>Where: <literal>server</literal> is a<?Pub Caret> stand-alone server
instance.</para>
</example>
</refsect1>
<refsect1 role="exit-status"><title></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 role="see-also"><title></title>
<para><olink targetdoc="asrefman" targetptr="create-mbean-1">create-mbean(1)</olink></para>
<para><olink targetdoc="asrefman" targetptr="delete-mbean-1">delete-mbean(1)</olink></para>
</refsect1>
</refentry>
