Modifying the State Collection Specification from wsadmin scripts
In addition to modifying the State Collection Specification from
the administrative console, you can also modify these settings using scripts
and the wsadmin tool.
About this task
In doing problem determination, you might want to begin collecting
additional data during normal processing. This can be accomplished by modifying
the State Collection Specification dynamically. This
section illustrates how to do that through the Wsadmin tool. This technique can be used to turn on traces,
as well as to turn off traces. Depending on the usage pattern of the component,
the impact should take affect shortly after it is set.
Procedure
Capture the DiagnosticService ObjectName into a variable.
Enter
set DS [lindex [$AdminControl queryNames name=DiagnosticService,*] 0]
Use this variable to drive the method to set the specification.
Enter
The specification is of the form DiagnosticProviderName:AttributeId=0|1… (with
a semicolon at the end, multiple sub-specifications can be entered similar
to the TraceSpec). The DiagnosticProviderName and AttributeId can be proper
regular expressions.
Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.
This feature requires Internet access.
Most of the following links will take you to information that is not part of the formal product documentation and is provided "as is." Some of these links go to non-IBM Web sites and are provided for your convenience only and do not in any manner serve as an endorsement by IBM of those Web sites, the material thereon, or the owner thereof.
Last updated: Aug 31, 2013 2:56:59 AM CDT http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-dist&topic=ttrb_invdpwsadminstcoll File name: ttrb_invdpwsadminstcoll.html