<!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-custom-resources-1">
<refmeta><refentrytitle>list-custom-resources</refentrytitle><manvolnum>1
</manvolnum>&metainfo;
</refmeta>
<refnamediv><indexterm><primary sortas="list-custom-resources">list-custom-resources &mdash;
gets all custom resources</primary></indexterm><indexterm><primary sortas="gets all custom resources">
gets all custom resources &mdash; list-custom-resources</primary></indexterm>
<refname>list-custom-resources</refname><refpurpose>gets all custom resources
</refpurpose></refnamediv>
<refsynopsisdiv><title>&synp-tt;</title>
<cmdsynopsis><command>list-custom-resources</command>&synopsis-common;
<arg><replaceable>target</replaceable></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1><title>&desc-tt;</title>
<para>Use this command to list custom resources. This command is supported
in remote mode only.</para>
</refsect1>
<refsect1><title>&opts-tt;</title>
<variablelist termlength="medium">&options-common;
</variablelist></refsect1>
<refsect1><title>&oper-tt;</title>
<variablelist termlength="medium">
<varlistentry><term><replaceable>target</replaceable></term><listitem><para>
This operand specifies the location of the custom resources. This operand
is available only in the Sun Java System Application Server Standard and Enterprise
Editions. Valid targets are:<itemizedlist>
<listitem><para><literal>server</literal>, which lists the resources on the
default server instance. This is the default value</para>
</listitem>
<listitem><para><literal>domain</literal>, which lists the resources in the
domain</para>
</listitem>
<listitem><para><replaceable>cluster_name</replaceable>, which lists the resources
for every server instance in the cluster</para>
</listitem>
<listitem><para><replaceable>instance_name</replaceable>, which lists the
resources for a particular server instance</para>
</listitem>
</itemizedlist></para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1><title>&exam-tt;</title>
<example>
<title>Using the list-custom-resources command</title>
<para>The following example displays the usage of this command in Sun Java
System Application Server Platform Edition.</para>
<screen>asadmin> <userinput>list-custom-resources --user admin --passwordfile 
passwords.txt --host plum --port 4848 </userinput>
sample_custom_resource01
sample_custom_resource02
Command list-custom-resources executed successfully. </screen>
</example>
<example>
<title>Using the list-custom-resources<?Pub Caret> command</title>
<para>The following example displays the usage of this command in Sun Java
System Application Server Standard and Enterprise Editions.</para>
<screen>asadmin> <userinput>list-custom-resources --user admin --passwordfile 
passwords.txt --host plum --port 4849 target6 

</userinput>
sample_custom_resource03
sample_custom_resource04
Command list-custom-resources 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="create-custom-resource-1"><citerefentry><refentrytitle>
create-custom-resource</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>,<link
linkend="delete-custom-resource-1"><citerefentry><refentrytitle>delete-custom-resource
</refentrytitle><manvolnum>1</manvolnum></citerefentry></link></para>
</refsect1>
</refentry>
<?Pub *0000004101>
