+

Search Tips   |   Advanced Search

serverStatus command

Use the serverStatus command to obtain the status of one or all of the servers configured on a node.

For more information about where to run this command, see the Using tools topic.


Syntax

The command syntax is as follows:

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


Parameters

The following options are available for the serverStatus command:

-quiet

Suppress the progress information that the serverStatus command prints in normal mode.

-logfile <fileName>

Location of the log file to which trace information is written. By default, the log file is named serverStatus.log and is created in the logs directory.

-profileName

Defines the profile of the Application Server process in a multi-profile installation. The -profileName option is not required for running in a single profile environment. The default for this option is the default profile.

-replacelog

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

-trace

Generates trace information into a file for debugging purposes.

-username <name>

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

-user <name>

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

-password <password>

Password for authentication if security is enabled.

-help

Prints a usage statement.

-?

Prints a usage statement.


Usage scenario

The following examples demonstrate correct syntax:

serverStatus server1
 serverStatus -all (returns status for all defined servers)
 serverStatus -trace (produces the serverStatus.log file)


Related tasks

  • Use command-line tools