- CA Application Performance Management
- CA Introscope
- CA Application Performance Management:Release:9.1.0
- INTROSCOPE AGENT
HPROF is a heap/CPU profiling tool. This is useful in gathering information to troubleshoot the application when there is a high CPU/memory usage.Here is how to use hprof on WAS 7.0:
- Open and sign on to the WebSphere admin console.
- In the left pane, select Servers > Server Types > WebSphere application servers.
- Click on the link for the specific server.
- Expand Java and Process Management.
- Click on the Process Definition link.
- Click on the Servant link.
- Click on the Java Virtual Machine link.
- Select the Run HProf check box.
- In the HProf Arguments field, enter <options>,file=<file-name>.
- Click the OK button.
- Click the Save link at the top of the page.
- Recycle or start the application server.
- Perform the tasks that you want to measure.
- Recycle or stop the application server.
The hprof thread writes its results in the file specified in step 9. Note that the file must be writable, and that hprof will write it only when the JVM stops.
The steps are very similar for Websphere 8.x also. In WAS 8.x, instead of clicking in Servant Link (Step 6), you can directly go to Step 7 from Step 5.