serverStatus command

Use the serverStatus command to obtain the status of one or all of the servers configured on a node. One can run this command from the $WAS_HOME/bin directory of a WebSphere Application Server installation or a network deployment installation.

 

Syntax

serverStatus <server>|-all [options]

The first argument is required. The argument is either the name of the configuration directory of the server for which status is desired, or the -all keyword which requests status for all servers defined on the node.

 

Parameters

The options for the serverStatus command follow:

 

-quiet

Suppresses the progress information that serverStatus prints in normal mode.

 

-logfile <filename>

Specifies the location of the log file to which information gets written.

 

-replacelog

Replaces the log file instead of appending to the current log.

 

-trace

Generates trace information into a file for debugging purposes.

 

-username <name>

Specifies the user name for authentication if security is enabled. Acts the same as the -user option.

 

-user <name>

Specifies the user name for authentication if security is enabled. Acts the same as the -username option.

 

-password <password>

Specifies the password for authentication if security is enabled.

 

-help

Prints a usage statement.

 

-?

Prints a usage statement.

 

Examples

The following examples demonstrate correct syntax:

serverStatus servername

serverStatus -all (returns status for all defined servers)

serverStatus -trace (produces serverStatus.log file)


 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.