Before you begin
Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.Why and when to perform this task
Use the attributes or operations commands of the Help object to find information on a running MBean in the server.Steps for this task
$Help attributes MBeanObjectName
Help.attributes(MBeanObjectName)
$ | is a Jacl operator for substituting a variable name with its value |
Help | is the object that provides general help and information for running MBeans in the connected server process |
attributes | is a Help command |
MBeanObjectName | is the string representation of the MBean object name that is obtained in step 2 |
$Help operations MBeanObjectnameor
$Help operations MBeanObjectname operationName
Help.operations(MBeanObjectname)or
Help.operations(MBeanObjectname, operationName)
$ | is a Jacl operator for substituting a variable name with its value |
Help | is the object that provides general help and information for running MBeans in the connected server process |
operations | is a Help command |
MBeanObjectname | is the string representation of the MBean object name that is obtained in step number 2 |
operationName | (optional) is the specified operation from which you want to obtain detailed information |
set server [$AdminControl completeObjectName type=Server,name=server1,*] $Help operations $server
server = AdminControl.completeObjectName('type=Server,name=server1,*') print Help.operations(server)
$Help operations $server stop
print Help.operations(server, 'stop')
Related concepts
AdminControl object for scripted administration
Help object for scripted administration
Related reference
Commands for the AdminControl object
Commands for the Help object