cmx_list_status (Display a status of service unit)

Format

Function

To acquire the status of the service unit in the Web system

This command acquires the service unit operating status and the executed status of the cmx_build_system command for the service unit and outputs the acquired results to standard output.

If the service unit is specified in the command option, the specific service unit will be displayed and if the service unit is not specified in the command option, all the units in the Web system will be displayed.

To learn about the operating status of each J2EE application and each logical server, you use the mngsvrutil command. For details on the mngsvrutil command, see

mngsvrutil (Management Server management command) in 7.2 Details of commands used with Management Server

To acquire the status of the logical server that is not associated with the Web system

Arguments

-s web-system-name
Specifies the Web system name.
If you omit this option, the value set in the cmx.websystem.name key of the .cmxrc file or the cmxclient.properties file will be used. Note that if the cmx.websystem.name key is not specified in the .cmxrc file and the cmxclient.properties file and if you execute the cmx_list_status command by omitting the -s option, an error occurs.
-unit service-unit-name
Specifies the service unit name.
-ns
Specify this option to acquire the status of the logical server that is not associated with the Web system.

Output format

This command is output in the CSV format.

Input and Output examples

Return values

0:
The command is terminated normally.
1:
The command is terminated with a warning.
64:
The command is terminated abnormally.

Notes