Modify attributes on running objects
- Invoke AdminControl
- Obtain the name of the running object with the following command:
$AdminControl completeObjectName name- Issue the following command:
set ts1 [$AdminControl completeObjectName name]- Modify the running object with the following command:
$AdminControl setAttribute $ts1 ringBufferSize 10- Modify multiple attribute name and value pairs:
set ts1 [$AdminControl completeObjectName type=TraceService,process=servername,*] $AdminControl setAttributes $ts1 {{ringBufferSize 10} {traceSpecification com.ibm.*=all=disabled}}
The new attribute values are returned to the command line.