Display application server properties with the dspwasinst script
The dspwasinst script displays information about an application server instance. The script displays this information:
- Application servers. For each application server, the following information is displayed:
- Port numbers
- Installed applications
- Status (running or stopped)
- Job ID (if the application server is running)
- Cell name
- Node name
For information on running Qshell scripts, see Configure Qshell to run WebSphere Application Server - Express scripts.
Authority
To run this script, your iSeries user profile must have *ALLOBJ authority.
Usage
To display information for an instance and for the application servers in that instance, run the dspwasinst script from the Qshell command line. To run the dspwasinst script, follow these steps:
On the CL command line, run the STRQSH (Start Qshell) command.
Run the cd command to change to the directory that contains the script:
cd /QIBM/ProdData/WebASE51/ASE/binRun the dspwasinst script:
dspwasinst -instance instancewhere instance is the name of the instance that you want to display.
Syntax
The syntax of the script is:
dspwasinst -instance instance [ -server servername ] [ -help ]Parameters
The parameters of the script are:
-instance
This is a required parameter. The value instance specifies the name of the instance that you want to display the properties for.-server
This is an optional parameter. The value servername specifies the name of the application server to display. If this value is not specified, all of the application servers in the instance are displayed. To display properties for multiple servers, specify multiple -server parameters.-help
This optional parameter displays the help message. If you specify this parameter, the script ignores all other parameters.Example
In this example, the script displays information about the instance devinst.
dspwasinst -instance devinst