The serverStatus script

Use the serverStatus script to obtain the status of one or all of the servers configured for an instance (node).

Product

This script is available in WebSphere Application Server and WebSphere Application Server Network Deployment.

Authority

No special authority is required to run this script.

Syntax

The syntax of the serverStatus script is:

serverStatus server | -all [ -instance instance ]
 [ -logfile filename ] [ -replacelog ] [ -trace ] [ -username username ]
 [ -password password ] [ -help | -? ]

Parameters

The parameters of the serverStatus script are:

Examples

These examples demonstrate correct syntax:

serverStatus server1

This example displays the status for the server1 application server in the default instance.

serverStatus -all -instance devinst

This example displays the status for all of the application servers in the instance devinst.