List running applications on running servers using scripting


Use wsadmin and scripting to list all the running applications on all the running servers.

Before starting this task, wsadmin must be running. See the Start wsadmin article for more information.

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

 

 

Results

For example...

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 ----------------------------------------------------

 

Related tasks


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

 

Related


Commands for the AdminConfig object
Commands for AdminControl