Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandsshow-instance-status(1)


NAME

 show-instance-status - displays the status of the server instance specified.

SYNOPSIS

 show-instance-status--user admin_user[ --password admin_password ][ --host localhost ] [ --port 4848 ][ --local=false ][ --passwordfile filename ][ --secure|-s ]instance_name

DESCRIPTION

Use the show-instance-status command to get the status of the specified instance. The instance must already exist. If the instance specified does not exist, the command fails. The status is a string representation returned by the server; it can be: starting, started, stopping, and stopped.

OPTIONS

--user

administrative user associated for the instance.

--password

administrative password corresponding to the administrative user.

--host

host name of the machine hosting the administrative instance.

--port

administrative port number associated with the administrative host.

--passwordfile

file containing passwords appropriate for the command (e.g., administrative instance).

--secure

if true, uses SSL/TLS to communicate with the administrative instance.

OPERANDS

instance_name

name of the instance.

EXAMPLES

Example 1. Using show-instance-status
asadmin> show-instance-status --user admin --password adminadmin --host localhost --port 4848 server1
Status of instance server1 is running

Where:the status of the server1 instance is shown.

EXIT STATUS

0

command executed successfully

1

error in executing the command

INTERFACE EQUIVALENT

Server Instance page; Applications folder, Enterprise applications

SEE ALSO

list-instances(1)


Sun Java System Application ServerGo To TopLast Changed 29 Dec 2003