Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
Commands for the Help object using wsadmin.sh
- AdminApp
- AdminConfig
- AdminControl
- AdminTask
- all
- attributes
- classname
- constructors
- description
- help
- message
- notifications
- operations
AdminApp
View a summary of each available method for the AdminApp object.
Required parameters None
Optional parameters NoneExamples
### Jacl
$Help AdminApp
### Jython
print Help.AdminApp()
AdminConfig
View a summary of each available method for the AdminConfig object.
Required parameters None
Optional parameters NoneExamples
### Jacl
$Help AdminConfig
### Jython
print Help.AdminConfig()
AdminControl
View a summary of the help commands and ways to invoke an administrative command.
Required parameters None
Optional parameters NoneExamples
### Jacl
$Help AdminControl
### Jython
print Help.AdminControl()
AdminTask
View a summary of help commands and ways to invoke an administrative command with the AdminTask object.
Required parameters None
Optional parameters NoneExamples
### Jacl
$AdminTask help
### Jython
print AdminTask.help()
all
View a summary of the information that the MBean defines by name.
Required parameters
- MBean name
- Object name that represents the MBean of interest. (String)
Optional parametersExamples
### Jacl
$Help all [$AdminControl queryNames type=TraceService,process=server1,node=pongo,*]
### Jython
print Help.all(AdminControl.queryNames('type=TraceService,process=server1,node=pongo,*'))
attributes
View a summary of all the attributes that the MBean defines by name. If provided the MBean name parameter, the command displays information about the attributes, operations, constructors, description, notifications, and classname of the specified MBean. If you specify the MBean name and attribute name, the command displays information about the specified attribute for the specified MBean.
Required parameters
MBean name
Object name that represents the MBean of interest. (String)
Optional parameters
attribute name
Attribute of interest. (String) Sample output
Attribute Type Access
ringBufferSize java.lang.Integer RW
traceSpecification string RWExamples
### Jacl
$Help attributes [$AdminControl queryNames type=TraceService,process=server1,node=pongo,*]
### Jython
print Help.attributes(AdminControl.queryNames('type=TraceService,process=server1,node=pongo,*'))
classname
View a class name that the MBean defines by name.
Required parameters
MBean name
Object name that represents the MBean of interest. (String)
Optional parameters NoneSample output
javax.management.modelmbean.RequiredModelMBean
Examples
### Jacl
$Help classname [$AdminControl queryNames type=TraceService,process=server1,node=pongo,*]
### Jython
print Help.classname(AdminControl.queryNames('type=TraceService,process=server1,node=pongo,*'))
constructors
View a summary of all of the constructors that the MBean defines by name.
Required parameters
MBean name
Object name that represents the MBean of interest. (String)
Optional parameters NoneSample output
Constructors
Examples
### Jacl
$Help constructors [$AdminControl queryNames type=TraceService,process=server1,node=pongo,*]
### Jython
print Help.constructors(AdminControl.queryNames('type=TraceService,process=server1,node=pongo,*'))
description
View a description that the MBean defines by name.
Required parameters
MBean name
Object name that represents the MBean of interest. (String)
Optional parameters NoneSample output
Managed object for overall server process.
Examples
### Jacl
$Help description [$AdminControl queryNames type=TraceService,process=server1,node=pongo,*]
### Jython
print Help.description(AdminControl.queryNames('type=TraceService,process=server1,node=pongo,*'))
help
View a summary of all the available methods for the Help object.
Required parameters None
Optional parameters NoneExamples
### Jacl
$Help help
### Jython
print Help.help()
message
View information for a message ID.
Required parameters
message ID
Message ID of the message of interest. (String)
Optional parameters NoneSample output
Explanation: The container was unable to passivate an enterprise bean due to exception {2} User action: Take action based upon message in exception {2}
Examples
### Jacl
$Help message CNTR0005W
### Jython
print Help.message('CNTR0005W')
notifications
View a summary of all the notifications that the MBean defines by name.
Required parameters
- MBean name
- Object name of the MBean of interest. (String)
Optional parameters NoneSample output
Notification
websphere.messageEvent.audit
websphere.messageEvent.fatal
websphere.messageEvent.error
websphere.seriousEvent.info
websphere.messageEvent.warning
jmx.attribute.changedExamples
### Jacl
$Help notifications [$AdminControl queryNames type=TraceService,process=server1,node=pongo,*]
### Jython
print Help.notifications(AdminControl.queryNames('type=TraceService,process=server1,node=pongo,*'))
operations
View a summary of all the operations that the MBean defines by name. Specify a value for the MBean name and operation name to display the signature of the operation for the MBean that is defined by name.
Required parameters
MBean name Object name of the MBean of interest.
Optional parameters
- operation name
- Operation of interest. (String)
Sample output
The command returns output that is similar to the following example if you specify only the MBean name parameter:
Operation
int getRingBufferSize()
void setRingBufferSize(int)
java.lang.String getTraceSpecification()
void setTraceState(java.lang.String)
void appendTraceString(java.lang.String)
void dumpRingBuffer(java.lang.String)
void clearRingBuffer()
[Ljava.lang.String; listAllRegisteredComponents()
[Ljava.lang.String; listAllRegisteredGroups()
[Ljava.lang.String; listComponentsInGroup(java.lang.String)
[Lcom.ibm.websphere.ras.TraceElementState; getTracedComponents()
[Lcom.ibm.websphere.ras.TraceElementState; getTracedGroups()
java.lang.String getTraceSpecification(java.lang.String)
void processDumpString(java.lang.String)
void checkTraceString(java.lang.String)
void setTraceOutputToFile(java.lang.String, int, int, java.lang.String)
void setTraceOutputToRingBuffer(int, java.lang.String)
java.lang.String rolloverLogFileImmediate(java.lang.String, java.lang.String)The command returns output that is similar to the following example if you specify the MBean name and operation name parameters:
void processDumpString(string)
Description: Write the contents of the Ras services ring buffer to the specified file.
Parameters:
Type string
Name dumpString
Description A String in the specified format to process or null.Examples
### Jacl
$Help operations [$AdminControl queryNames type=TraceService,process=server1,node=pongo,*]
$Help operations [$AdminControl queryNames type=TraceService,process=server1,node=pongo,*] processDumpString
### Jython
print Help.operations(AdminControl.queryNames('type=TraceService,process=server1,node=pongo,*'))
print Help.operations(AdminControl.queryNames('type=TraceService,process=server1,node=pongo,*'), 'processDumpString')
Help object for scripted administration using wsadmin.sh
Scripting and command line reference material using wsadmin.sh