The PerfServlet input and output is used for simple end-to-end retrieval of performance data that any tool, provided by either IBM or a third-party vendor, can handle The PerfServlet is deployed in one of the application server instance within the domain. By default, the PerfServlet collects all of the performance data across a WebSphere Application Server cell. However, it is possible to limit the data returned by the servlet to either a specific node, server, or PMI module:
http://hostname/wasPerfTool/servlet/perfservlet?node=rjones
http://hostname/wasPerfTool/servlet/perfservlet?server=testserverTo 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
http://hostname/wasPerfTool/servlet/perfservlet?module=beanModule+jvmRuntimeModuleFor example, to limit the data collection to the beanModule on all servers and nodes, invoke the following URL:
http://hostname/wasPerfTool/servlet/perfservlet?module=beanModuleTo 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=beanModuleTo find the list of the modules, invoke the PerfServlet help with the following URL:
http://hostname/wasPerfTool/servlet/perfservlet?action=help
In WebSphere Application Server Network Deployment (ND), the PerfServlet automatically connects to the deployment manager to provide PMI data about the entire cell. 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=trueYou may want to configure other parameters of the performance servlets according to your specific needs. You can define the host, port number, connector type, and a user name and password.
Note: There can be more than one server instance in Network Deployment installations and a performance servlet can be installed in any one of the servers.
In a Network Deployment installation, use the Deployment Manager's SOAP or RMI port.
Note: The port numbers for SOAP/RMI connector can be configured in the administrative console under Servers > Application Servers > server_name > End Points.