Example: Identify running objects

 

+

Search Tips   |   Advanced Search

 

Use the AdminControl object to interact with running MBeans.

In the WAS, MBeans represent running objects. You can interrogate the MBean server to see the objects it contains.

[wasuser@hostname wsadmin]$ wsadmin.sh -lang jython -f queryNames_app.py
WASX7209I: Connected to process "dmgr" on node dmgr_node using SOAP connector; The type of process is: DeploymentManager
WebSphere:name=DefaultApplication, process=server1, platform=dynamicproxy, node=foobar_node, J2EEName=DefaultApplication, Server=server1, version=6.0.2.29, type=Application, mbeanIdentifier=cells/dmgr_cell/applications/DefaultApplication.ear/deployments/DefaultApplication/deployment.xml#ApplicationDeployment_1217993787520, cell=dmgr_cell
WebSphere:name=Dynamic_Cache_Monitor, process=xyz_Stage, platform=dynamicproxy, node=foobar_node, J2EEName=Dynamic_Cache_Monitor, Server=xyz_Stage, version=6.0.2.29, type=Application, mbeanIdentifier=cells/dmgr_cell/applications/Dynamic_Cache_Monitor.ear/deployments/Dynamic_Cache_Monitor/deployment.xml#ApplicationDeployment_1220552478970, cell=dmgr_cell
WebSphere:name=Dynamic_Cache_Monitor, process=server1, platform=dynamicproxy, node=foobar_node, J2EEName=Dynamic_Cache_Monitor, Server=server1, version=6.0.2.29, type=Application, mbeanIdentifier=cells/dmgr_cell/applications/Dynamic_Cache_Monitor.ear/deployments/Dynamic_Cache_Monitor/deployment.xml#ApplicationDeployment_1220552478970, cell=dmgr_cell
WebSphere:name=xyzEAR, process=xyz_Stage, platform=dynamicproxy, node=foobar_node, J2EEName=xyzEAR, Server=xyz_Stage, version=6.0.2.29, type=Application, mbeanIdentifier=cells/dmgr_cell/applications/xyzEAR.ear/deployments/xyzEAR/deployment.xml#ApplicationDeployment_1229197361872, cell=dmgr_cell
WebSphere:name=foobar, process=server1, platform=dynamicproxy, node=foobar_node, J2EEName=foobar, Server=server1, version=6.0.2.29, type=Application, mbeanIdentifier=cells/dmgr_cell/applications/foobar.ear/deployments/foobar/deployment.xml#ApplicationDeployment_1217994053925, cell=dmgr_cell
WebSphere:name=ivtApp, process=server1, platform=dynamicproxy, node=foobar_node, J2EEName=ivtApp, Server=server1, version=6.0.2.29, type=Application, mbeanIdentifier=cells/dmgr_cell/applications/ivtApp.ear/deployments/ivtApp/deployment.xml#ApplicationDeployment_1217993797384, cell=dmgr_cell
WebSphere:name=query, process=server1, platform=dynamicproxy, node=foobar_node, J2EEName=query, Server=server1, version=6.0.2.29, type=Application, mbeanIdentifier=cells/dmgr_cell/applications/query.ear/deployments/query/deployment.xml#ApplicationDeployment_1217993805993, cell=dmgr_cell



 

Related tasks

Use the AdminControl object for scripted administration