7.3.1 Checking the operating status of Application Server with a command
To check the operating status of Application Server with a command, execute the list-prfs, list-instances, and list-webservers subcommands of the asadmin utility command.
Prerequisites
-
The domain administration server (DAS) is running.
Intended users
-
System operators
Procedure
To display a list of performance tracers, run the list-prfs subcommand of the asadmin utility command.
asadmin list-prfs
When this command is run, the result is displayed as follows. If the server instance is running, the status is displayed as running, and if it is not running, the status is displayed as not running.
performance_tracer_name running Command list-prfs executed successfully.
To display a list of server instances, run the list-instances subcommand of the asadmin utility command with the --long option specified.
asadmin list-instances --long=true
When this command is run, the result is displayed as follows. If the server instance is running, the status is displayed as running, and if it is not running, the status is displayed as not running.
server_instance_name host_name port_number process_ID cluster_name not running Command list-instances executed successfully.
-
cluster_name is displayed only for cluster configurations that contain multiple Java EE servers.
-
To display a list of web servers, run the list-webservers subcommand of the asadmin utility command.
asadmin list-webservers
When this command is run, the result is displayed as follows. If the server instance is running, the status is displayed as running, and if it is not running, the status is displayed as not running.
web_server_name running Command list-webservers executed successfully.