+

Search Tips   |   Advanced Search

 

Listing running applications on running servers using scripting

 

Use the wsadmin tool and scripting to list all the running applications on all the running servers. Before starting this task, the wsadmin tool must be running. See the Start the wsadmin scripting client article for more information.

 

Overview

Use the following example to list all the running applications on all the running servers on each node of each cell:

 

Procedure

 

Results

Example output:

Number of running servers on node mynode: 2 mynode (NodeAgent) has pid 3592; state: STARTED; on Windows 2000
Number of applications running on mynode: 0
----------------------------------------------------
 server1 (ManagedProcess) has pid 3972; state: STARTED; on Windows 2000
Number of applications running on server1: 0
----------------------------------------------------

Number of running servers on node mynodeManager: 1 dmgr (DeploymentManager) has pid 3308; state: STARTED; on Windows 2000
Number of applications running on dmgr: 2 adminconsole filetransfer
----------------------------------------------------



Use the AdminConfig object for scripted administration
Use the AdminControl object for scripted administration

 

Related Reference


Commands for the AdminConfig object
Commands for the AdminControl object