Profiler configuration for a remote process

The remote server should have been started with profiling enabled. To configure your appserver for profiling, do the following:

1. In the Administrative Console select Servers -> Application Servers -> <AppServer> -> Process Definition. Enter -XrunpiAgent into the Executable arguments field and click OK.

2. Go to Servers -> Application Servers -> <AppServer> -> Process Definition. Select Java Virtual Machine from the Additional Properties pane. Enter -XrunpiAgent -DPD_DT_ENABLED=true into the Generic JVM arguments field and click OK.

3. Save the configuration and restart the server(s).

4. The next step is to attach to a Remote Java process for the server instance: a. In WebSphere Studio Application Developer, switch to the Profiling and Logging perspective. How to switch to the Profiling and Logging Perspective is shown in Figure 17-2. b. Select Profile -> Attach -> Remote Process. This option can also be obtained by right-clicking in the profiling monitor.

5. Go to Generic Profiler configuration (local and remote environments).

Figure 17-2 Profiling and Logging Perspective

  Prev | Home | Next

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.