InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.0: About user assistance >
6.6.0.2: Command line administration >
6.6.0.2.2: WebSphere Control Program (wscp) >
6.6.0.2.2.3: Advanced usage of wscp >
6.6.0.2.2.3.10: Monitoring performance

6.6.0.2.2.3.10: Monitoring performance

Use the wscp PmiService operations to monitor application server performance. The PmiService operations can be used to enable or disable tracing, check the values of performance counters, and monitor other performance measures. The full range of WebSphere performance monitoring functions is available through Resource Analyzer.

The following command example turns on tracing for the specified application server:

wscp> PmiService enableData /Node:Appserv1/ApplicationServer:sampleServ/
-dd {JVMRuntimeModule}

The following command example turns off tracing for the specified application server:

wscp> PmiService disableData /Node:Appserv1/ApplicationServer:sampleServ/
-dd {JVMRuntimeModule}

The following command example displays configuration information for the specified server:

wscp> PmiService getConfigs /Node:Appserv1/ApplicationServer:sampleServ/
[output too long to display]

The following command example lists the modules for which performance statistics are collected:

wscp > PmiService listMembers /Node:Appserv1/ApplicationServer:sampleServ/
jvmRuntimeModule threadPoolModule transactionModule

The following command example displays performance information for the specified server:

wscp> PmiService get /Node:Appserv1/ApplicationServer:sampleServ/
[output too long to display]

The following command example displays performance information for the specified module:

wscp> PmiService gets /Node:Appserv1/ApplicationServer:sampleServ/
-dd jvmRuntimeModule
{Description jvmRuntimeModule.desc} {Descriptor {Name
jvmRuntimeModule} {Type 13} {FullName
root/wssol2/ApplicationServer:BrokerAppSrv/jvmRuntimeModule} {NodeName
wssol2} {ServerName ApplicationServer:BrokerAppSrv} {ModuleName
jvmRuntimeModule} {MaxPathLength 3} {DataDescriptor {Name
jvmRuntimeModule} {Type 13} {ModuleName jvmRuntimeModule} {DataId -1}
{Path jvmRuntimeModule}} {Path wssol2 ApplicationServer:BrokerAppSrv
jvmRuntimeModule}}

The following command example displays the performance level descriptors for the specified application server:

wscp> PmiService getLevel /Node:Appserv1/ApplicationServer:sampleServ/
{pmi/beanModule 0} {pmi/threadPoolModule 0} {pmi/connectionPoolModule
0} {pmi/jvmRuntimeModule 0} {pmi/transactionModule 0}
{pmi/webAppModule 0} {pmi/servletSessionsModule 0} {pmi/jvmpiModule 0}

For more information on performance monitoring, see The WebSphere Resource Analyzer.

Go to previous article: 6.6.0.2.2.3.9: Manipulating the JNDI context of objects Go to next article: 6.6.0.2.2.3.11: Setting global security defaults

 

 
Go to previous article: 6.6.0.2.2.3.9: Manipulating the JNDI context of objects Go to next article: 6.6.0.2.2.3.11: Setting global security defaults