7.3.1 list
This subcommand displays a list of values, as specified in the argument. The following table lists and describes the arguments that can be specified for the list subcommand.
Argument |
Explanation |
Target specification |
|
---|---|---|---|
Logical server |
Host |
||
Status |
Lists the logical servers in the management domain and shows their status. |
-- |
-- |
appStatus |
Lists the J2EE applications that have been imported into the logical server specified by the -t option and shows their status. |
Y |
-- |
resStatus |
Lists the J2EE resources that have been imported into the logical server specified by the -t option and shows their status. |
Y |
-- |
resJavaBeansStatus |
Lists the JavaBeans resources that have been imported into the logical server specified by the -t option and shows their status. |
Y |
-- |
Queues |
Lists the queues belonging to the host specified by the -t option and shows their status. |
Y |
Y |
You can use the list subcommand to display the following five types of information:
-
Use the status argument to display the logical servers in the management domain and their status.
In the header of the output information, type indicates the logical server type (Web server, J2EE server, Naming Service, Smart Agent, performance tracer, CTM domain manager, and CTM), startingOrder indicates the order in which logical servers are started, and parent indicates the names of the clusters to which the logical servers belong. If no starting order is specified, the default values are displayed in startingOrder, and if the starting order information cannot be acquired, a hyphen (-) is displayed.
For default values, see 11.3.5 Setting up the starting order for the logical servers in the entire management domain in the uCosminexus Application Server Management Portal User Guide.
For a standalone logical server that does not belong to any cluster, a hyphen (-) is displayed under Parent.
The status types are working, stopped, starting, stopping, abnormal ended, recovering, communication error, auto stopping, auto restarting, graceful stopping, or force stopping.
For details on the status of logical servers, see 4.4 Monitoring the logical server operations in the uCosminexus Application Server Management Portal User Guide.
This subcommand displays only logical servers that belong to clusters and stand-alone logical servers.
-
Use the appStatus argument to display information about J2EE applications that have been imported into the J2EE server.
This argument lists information about the J2EE applications that have been imported into the J2EE server specified by the -t option.
If a J2EE server cluster is specified, the processing is expanded to include its members. If a logical server that is not a J2EE server (including a J2EE server cluster member) or that is not a J2EE server cluster is specified by the -t option, an error occurs.
logicalServerName displays in the header of the output information the name of the J2EE server specified by the -t option.
appName of the header of the output information displays the display names of the applications that are imported into the J2EE server. Note that if the J2EE server is not active, a null character ("") is displayed. If the J2EE server is active and if no application has been imported, the records will not be output.
The status types are working, stopped, or unknown (J2EE server is not active or the J2EE server is not managing the applications).
-
Use the resStatus argument to display information about J2EE resources that have been imported into the J2EE server or batch server.
This argument lists information about the J2EE resources that have been imported into the J2EE server or batch server specified by the -t option.
If a J2EE server cluster is specified, the processing is expanded to include its members. If a logical server that is not a J2EE server (including a J2EE server cluster member) or batch server, or that is not a J2EE server cluster is specified by the -t option, an error occurs.
logicalServerName displays in the header of the output information the name of the J2EE server or batch server specified by the -t option.
resourceName of the header of the output information displays the display name of the resource adapters that are imported into the J2EE server. Note that if the J2EE server is not active, a null character ("") is displayed.
The status types are working, stopped, or unknown (J2EE server is not active or the J2EE server is not managing the resource adapters).
-
Use the resJavaBeansStatus argument to display information about JavaBeans resources that have been imported into the J2EE server or batch server.
This argument lists information about the JavaBeans resources that have been imported into the J2EE server or batch server specified by the -t option.
If a J2EE server cluster is specified, the processing is expanded to include its members. If a logical server that is not a J2EE server (including a J2EE server cluster member) or batch server, or that is not a J2EE server cluster is specified by the -t option, an error occurs.
logicalServerName displays in the header of the output information the name of the J2EE server or batch server specified by the -t option.
JavaBeansResourceName of the header of the output information displays the display name of the JavaBeans resources that are imported into the J2EE server. Note that if the J2EE server is not active, a null character ("") is displayed.
The status types are working, stopped, or unknown (J2EE server is not active or the J2EE server is not managing the resources).
-
Use the queues argument to display information about CTM queues.
This argument lists information about the queues belonging to the CTM or host specified by the -t option.
The CTM name is displayed in logicalServerName of the header. The queue name is displayed in queueName.
The status types are scheduling (scheduling-enabled state), preparing (preparing the queue), stopping (stopping the queue), closing[in] (locking the queue entrance), or closing[out] (locking the queue exit).