PerfServlet input

The PerfServlet is deployed in one of the application server instance within the domain. In WAS Network Deployment (ND), the PerfServlet automatically connects to the deployment manager to provide PMI data about the entire cell. By default, the PerfServlet collects all of the performance data across a WAS cell. However, it is possible to limit the data returned by the servlet to either a specific node, server, or PMI module:

Node

.The servlet can limit the information it provides to a specific host by using the node parameter. For example, to limit the data collection to the node ‘rjones’, invoke the following URL

http://hostname/wasPerfTool/servlet/perfservlet?node=rjones

Server

The servlet can limit the information it provides to a specific server by using the server parameter. For example, in order to limit the data collection to the ‘testserver’ server on all nodes, invoke the following URL

http://hostname/wasPerfTool/servlet/perfservlet?server=testserver
To limit the data collection to the ‘testserver’ server located on the host ‘rjones’, invoke the following URL

http://hostname/wasPerfTool/servlet/perfservlet?node=rjones&server=testserver

Module

The servlet can limit the information it provides to a specific PMI module by using the module parameter. We can request multiple modules by using the following URL

http://hostname/wasPerfTool/servlet/perfservlet?module=beanModule+jvmRuntimeModule
For example, to limit the data collection to the beanModule on all servers and nodes, invoke the following URL

http://hostname/wasPerfTool/servlet/perfservlet?module=beanModule
To limit the data collection to the beanModule on the server ‘testserver’ on the node rjones, invoke the following URL

http://hostname/wasPerfTool/servlet/perfservlet?node=rjones&server=testserver&module=beanModule
To find the list of the modules, invoke the PerfServlet help with the following URL

http://hostname/wasPerfTool/servlet/perfservlet?action=help

When the performance servlet is first initialized, it retrieves the list of nodes and servers within the domain in which it is deployed. Because the collection of this data is expensive, the performance servlet holds this information as a cached list. If a new node is added to the domain or a new server is started, the performance servlet does not automatically retrieve the information about the newly created element. To force the servlet to refresh its configuration, add the refreshConfig parameter to the invocation as follows

http://hostname/wasPerfTool/servlet/perfservlet?refreshConfig=true


 

See Also


PerfServlet input

 

Related Tasks


Performance servlet (PerfServlet)